mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 04:13:55 -05:00
standardized autoupgrade settings
This commit is contained in:
parent
b7a6845b66
commit
7c519670d8
|
@ -16,12 +16,6 @@
|
|||
|
||||
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;
|
||||
|
||||
# Delete generations older than 14 days.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue