mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[General] Do not use trigger nix-gc and nix-store --optimise at the same time
Autoupgrade every sundays, instead of every day
This commit is contained in:
parent
4054f9604b
commit
a187f113b8
1 changed files with 4 additions and 2 deletions
|
|
@ -76,8 +76,10 @@ in
|
|||
};
|
||||
|
||||
nix.gc.automatic = mkDefault true;
|
||||
nix.gc.randomizedDelaySec = "30min";
|
||||
nix.gc.dates = mkDefault "Monday,Wednesday,Friday,Sunday 03:00:00";
|
||||
nix.gc.randomizedDelaySec = "3h";
|
||||
nix.optimise.automatic = mkDefault true;
|
||||
nix.optimise.dates = mkForce [ "Tuesday,Thursday,Saturday 03:00:00" ];
|
||||
nix.autoOptimiseStore = mkDefault true;
|
||||
|
||||
nix.daemonIOSchedPriority = 5;
|
||||
|
|
@ -86,7 +88,7 @@ in
|
|||
|
||||
system.autoUpgrade.enable = mkDefault true;
|
||||
system.autoUpgrade.allowReboot = mkIf (!desktopCfg.enable) (mkDefault true);
|
||||
system.autoUpgrade.dates = "00:00";
|
||||
system.autoUpgrade.dates = "Sunday *-*-* 00:00";
|
||||
|
||||
documentation.nixos.includeAllModules = true;
|
||||
documentation.nixos.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue