From 8c170c209140184e3ee48107b610add105feb575 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 18 Nov 2024 19:01:39 -0800 Subject: fix what I broke - `nix.settings.auto-optimise-store` is known to corrupt the Nix Store, please use `nix.optimise.automatic` instead. - The option definition `nix.gc.dates' in `/nix/store/vqcfrawi0yjswl7gnr73ly0k8jcyljmy-source/nix/hosts/common/nix.nix' no longer has any effect; please remove it. --- nix/hosts/common/nix.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'nix/hosts/common') diff --git a/nix/hosts/common/nix.nix b/nix/hosts/common/nix.nix index e67f1d3..d1f0492 100644 --- a/nix/hosts/common/nix.nix +++ b/nix/hosts/common/nix.nix @@ -5,12 +5,15 @@ gc = { user = "root"; automatic = true; - dates = "weekly"; + interval = [{ + Hour = 7; + Minute = 0; + Weekday = 0; + }]; options = "--delete-older-than 7d"; }; settings = { - auto-optimise-store = true; trusted-users = [ "@admin" "fcuny" ]; experimental-features = [ "nix-command" "flakes" ]; }; -- cgit 1.4.1