diff --git a/modules/common/nix.nix b/modules/common/nix.nix index 0963114..84a16d4 100644 --- a/modules/common/nix.nix +++ b/modules/common/nix.nix @@ -23,7 +23,7 @@ system.autoUpgrade = { enable = true; flake = "git+https://git.icanttype.org/cdombroski/nix-configs.git"; - allowReboot = true; + allowReboot = lib.mkDefault true; rebootWindow = { lower = "02:00"; upper = "06:00"; }; }; } diff --git a/systems/smolboi/configuration.nix b/systems/smolboi/configuration.nix index edc06d3..140c809 100644 --- a/systems/smolboi/configuration.nix +++ b/systems/smolboi/configuration.nix @@ -161,6 +161,7 @@ "/home".options = [ "compress=lzo" "autodefrag" "discard=async" "defaults" ]; }; + system.autoUpgrade.allowReboot = false; system.stateVersion = "23.11"; # Did you read the comment? } diff --git a/systems/zeus/configuration.nix b/systems/zeus/configuration.nix index bb663af..e3c448c 100644 --- a/systems/zeus/configuration.nix +++ b/systems/zeus/configuration.nix @@ -261,6 +261,7 @@ services.zfs.zed.enableMail = false; system.stateVersion = "23.11"; # Did you read the comment? + system.autoUpgrade.allowReboot = false; zramSwap.enable = true; }