Fix nix cleanup interval dates
This commit is contained in:
committed by
greg-compass
parent
a17dc1f483
commit
5f55a95842
@@ -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";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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 = [
|
||||||
|
|||||||
Reference in New Issue
Block a user