From e70b08dbe4495f41e6a94632da00c76e79fce7e6 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 18 Nov 2024 19:00:58 -0800 Subject: some tuning for nix --- nix/hosts/common/nix.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'nix') diff --git a/nix/hosts/common/nix.nix b/nix/hosts/common/nix.nix index c828a16..e67f1d3 100644 --- a/nix/hosts/common/nix.nix +++ b/nix/hosts/common/nix.nix @@ -5,11 +5,12 @@ gc = { user = "root"; automatic = true; - interval = { Weekday = 0; Hour = 2; Minute = 0; }; - options = "--delete-older-than 30d"; + dates = "weekly"; + options = "--delete-older-than 7d"; }; settings = { + auto-optimise-store = true; trusted-users = [ "@admin" "fcuny" ]; experimental-features = [ "nix-command" "flakes" ]; }; -- cgit 1.4.1