diff --git a/common/nix.nix b/common/nix.nix index e65b466..e1f4902 100644 --- a/common/nix.nix +++ b/common/nix.nix @@ -4,7 +4,7 @@ nix.autoOptimiseStore = true; nix.gc = { automatic = true; - dates = "weekly"; + dates = "10:00"; options = "--delete-older-than 30d"; }; } diff --git a/work-pc.nix b/work-pc.nix index f3e3aba..8700b36 100644 --- a/work-pc.nix +++ b/work-pc.nix @@ -33,5 +33,8 @@ # only change this when specified in release notes system.stateVersion = "19.09"; - system.autoUpgrade.enable = true; + system.autoUpgrade = { + enable = true; + dates = "10:00"; + }; }