Fix nix cleanup interval dates
This commit is contained in:
committed by
greg-compass
parent
a17dc1f483
commit
5f55a95842
@@ -18,9 +18,8 @@
|
||||
|
||||
gc = {
|
||||
automatic = true;
|
||||
interval = {
|
||||
Hour = 24;
|
||||
};
|
||||
# Scheduling of them is different in nixos vs nix-darwin, so check for
|
||||
# the extra details there
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
|
||||
|
||||
@@ -7,4 +7,5 @@
|
||||
bash.enable = true;
|
||||
};
|
||||
services.nix-daemon.enable = true;
|
||||
nix.gc.interval.Hour = 24;
|
||||
}
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
|
||||
system.stateVersion = "22.05";
|
||||
|
||||
nix.gc.dates = "weekly";
|
||||
|
||||
# I am a fan of network manager, myself
|
||||
networking = {
|
||||
search = [
|
||||
|
||||
Reference in New Issue
Block a user