mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Nix] Auto-upgrade at 2 am
This commit is contained in:
parent
34e1e82f4f
commit
f3e3f15e59
1 changed files with 1 additions and 1 deletions
2
nix.nix
2
nix.nix
|
|
@ -15,7 +15,7 @@ in
|
||||||
|
|
||||||
system.autoUpgrade.enable = mkDefault true;
|
system.autoUpgrade.enable = mkDefault true;
|
||||||
system.autoUpgrade.allowReboot = mkIf (!desktopCfg.enable) (mkDefault true);
|
system.autoUpgrade.allowReboot = mkIf (!desktopCfg.enable) (mkDefault true);
|
||||||
system.autoUpgrade.dates = "Sunday *-*-* 00:00";
|
system.autoUpgrade.dates = "Sunday *-*-* 02:00";
|
||||||
|
|
||||||
|
|
||||||
nix.gc.automatic = mkDefault true;
|
nix.gc.automatic = mkDefault true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue