about summary refs log tree commit diff
path: root/nix/hosts/common
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-11-18 19:00:58 -0800
committerFranck Cuny <franck@fcuny.net>2024-11-18 19:00:58 -0800
commite70b08dbe4495f41e6a94632da00c76e79fce7e6 (patch)
tree3e8ae5b0ff4e1add9943c940964af098c906132f /nix/hosts/common
parentmore configuration for eza (diff)
downloadworld-e70b08dbe4495f41e6a94632da00c76e79fce7e6.tar.gz
some tuning for nix
Diffstat (limited to '')
-rw-r--r--nix/hosts/common/nix.nix5
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" ];
     };