Temporarily prevent reboots during hdd test

This commit is contained in:
Chris Dombroski 2024-05-03 14:44:49 -04:00
parent c4178c4d3a
commit e4857f1995
3 changed files with 3 additions and 1 deletions

View file

@ -23,7 +23,7 @@
system.autoUpgrade = { system.autoUpgrade = {
enable = true; enable = true;
flake = "git+https://git.icanttype.org/cdombroski/nix-configs.git"; flake = "git+https://git.icanttype.org/cdombroski/nix-configs.git";
allowReboot = true; allowReboot = lib.mkDefault true;
rebootWindow = { lower = "02:00"; upper = "06:00"; }; rebootWindow = { lower = "02:00"; upper = "06:00"; };
}; };
} }

View file

@ -161,6 +161,7 @@
"/home".options = [ "compress=lzo" "autodefrag" "discard=async" "defaults" ]; "/home".options = [ "compress=lzo" "autodefrag" "discard=async" "defaults" ];
}; };
system.autoUpgrade.allowReboot = false;
system.stateVersion = "23.11"; # Did you read the comment? system.stateVersion = "23.11"; # Did you read the comment?
} }

View file

@ -261,6 +261,7 @@
services.zfs.zed.enableMail = false; services.zfs.zed.enableMail = false;
system.stateVersion = "23.11"; # Did you read the comment? system.stateVersion = "23.11"; # Did you read the comment?
system.autoUpgrade.allowReboot = false;
zramSwap.enable = true; zramSwap.enable = true;
} }