Fix nix cleanup interval dates

This commit is contained in:
Greg Hellings
2023-08-23 15:02:12 -05:00
committed by greg-compass
parent a17dc1f483
commit 5f55a95842
3 changed files with 5 additions and 3 deletions
+2 -3
View File
@@ -18,9 +18,8 @@
gc = { gc = {
automatic = true; automatic = true;
interval = { # Scheduling of them is different in nixos vs nix-darwin, so check for
Hour = 24; # the extra details there
};
options = "--delete-older-than 30d"; options = "--delete-older-than 30d";
}; };
+1
View File
@@ -7,4 +7,5 @@
bash.enable = true; bash.enable = true;
}; };
services.nix-daemon.enable = true; services.nix-daemon.enable = true;
nix.gc.interval.Hour = 24;
} }
+2
View File
@@ -17,6 +17,8 @@
system.stateVersion = "22.05"; system.stateVersion = "22.05";
nix.gc.dates = "weekly";
# I am a fan of network manager, myself # I am a fan of network manager, myself
networking = { networking = {
search = [ search = [