standardized autoupgrade settings

This commit is contained in:
Aly Raffauf 2024-03-12 21:52:11 -04:00
parent b7a6845b66
commit 7c519670d8
2 changed files with 2 additions and 8 deletions

View file

@ -16,12 +16,6 @@
networking.hostName = "mauville"; # Define your hostname. networking.hostName = "mauville"; # Define your hostname.
system.autoUpgrade = {
allowReboot = lib.mkForce true;
dates = lib.mkForce "weekly";
operation = lib.mkForce "boot";
};
services.xserver.displayManager.gdm.autoSuspend = false; services.xserver.displayManager.gdm.autoSuspend = false;
# Delete generations older than 14 days. # Delete generations older than 14 days.

View file

@ -40,10 +40,10 @@
system.autoUpgrade = { system.autoUpgrade = {
enable = true; enable = true;
allowReboot = false; allowReboot = true;
flake = "github:alyraffauf/nixcfg"; flake = "github:alyraffauf/nixcfg";
dates = "daily"; dates = "daily";
operation = "switch"; operation = "boot";
}; };
# Delete generations older than 7 days. # Delete generations older than 7 days.