From ddc95b1fa5168e56b705420b7ff66ef2d9cc85d7 Mon Sep 17 00:00:00 2001 From: Felix Tenley Date: Mon, 4 Nov 2019 10:01:05 +0100 Subject: [PATCH] update automatic jobs --- common/nix.nix | 2 +- work-pc.nix | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) 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"; + }; }