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

@ -15,12 +15,6 @@
boot.loader.efi.canTouchEfiVariables = true;
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;

View file

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