about summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-11-18 19:01:39 -0800
committerFranck Cuny <franck@fcuny.net>2024-11-18 19:05:25 -0800
commit8c170c209140184e3ee48107b610add105feb575 (patch)
tree6a753b8591ac520662aecdbf36e74c2b469e8749 /nix
parentfix comment (diff)
downloadworld-8c170c209140184e3ee48107b610add105feb575.tar.gz
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.
Diffstat (limited to 'nix')
-rw-r--r--nix/hosts/common/nix.nix7
1 files changed, 5 insertions, 2 deletions
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" ];
     };