modules/nixos/common/auto-upgrade: use mkDefault
This commit is contained in:
parent
403970df0f
commit
65cbaa5f4f
2 changed files with 4 additions and 3 deletions
modules/nixos
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, ... }:
|
||||
{ config, ... }:
|
||||
{
|
||||
sops.secrets.cachix-agent-token.sopsFile = ./secrets.yaml;
|
||||
|
||||
|
@ -7,5 +7,5 @@
|
|||
credentialsFile = config.sops.secrets.cachix-agent-token.path;
|
||||
};
|
||||
|
||||
system.autoUpgrade.enable = lib.mkForce false;
|
||||
system.autoUpgrade.enable = false;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
system.autoUpgrade.enable = true;
|
||||
system.autoUpgrade.enable = lib.mkDefault true;
|
||||
system.autoUpgrade.flake = "github:nix-community/infra";
|
||||
system.autoUpgrade.dates = "hourly";
|
||||
system.autoUpgrade.flags = [ "--option" "accept-flake-config" "true" "--option" "tarball-ttl" "0" ];
|
||||
|
|
Loading…
Add table
Reference in a new issue