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
|
@ -15,12 +15,6 @@
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
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;
|
||||||
|
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue