FIX nix garbage configuration

main
Alexandre LUCAZEAU 2023-06-05 13:43:03 +02:00
parent 9131db7d33
commit 45dce66310
1 changed files with 10 additions and 4 deletions

View File

@ -153,10 +153,16 @@
# run garbage collector at 19h00 everyday
# and remove stuff older than 60 days
nix.gc.automatic = true;
nix.gc.dates = "19:00";
nix.gc.persistent = true;
nix.gc.options = "--delete-older-than 60d";
# nix.gc.automatic = true;
# nix.gc.dates = "19:00";
# nix.gc.persistent = true;
# nix.gc.options = "--delete-older-than 60d";
nix.gc = {
automatic = true;
dates = "weekly";
persistent = true;
options = "--delete-older-than 10d";
};
# clean /tmp at boot
boot.cleanTmpDir = true;