diff options
author | Franck Cuny <franck@fcuny.net> | 2024-11-18 19:00:58 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-11-18 19:00:58 -0800 |
commit | e70b08dbe4495f41e6a94632da00c76e79fce7e6 (patch) | |
tree | 3e8ae5b0ff4e1add9943c940964af098c906132f /nix/hosts/common | |
parent | more configuration for eza (diff) | |
download | world-e70b08dbe4495f41e6a94632da00c76e79fce7e6.tar.gz |
some tuning for nix
Diffstat (limited to '')
-rw-r--r-- | nix/hosts/common/nix.nix | 5 |
1 files changed, 3 insertions, 2 deletions
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" ]; }; |