[GC] Make GC persistent so it will run even if the system was down.
This commit is contained in:
1 parent
d5f0798be1
commit
e1b953dbcb
1 file changed
+2
-1
@@ -1,8 +1,9 @@
|
|||||||
{ ... }: {
|
_: {
|
||||||
# Automatic
|
# Automatic
|
||||||
nix.gc = {
|
nix.gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
|
persistent = true;
|
||||||
options = "--delete-older-than 30d";
|
options = "--delete-older-than 30d";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user