mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-21 21:13:54 -05:00
standardized autoupgrade settings
This commit is contained in:
parent
b7a6845b66
commit
7c519670d8
|
@ -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;
|
||||
|
||||
|
|
|
@ -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