Weekly nix gc

This commit is contained in:
minish 2024-10-13 17:28:02 -04:00
parent d617156c24
commit 6d61d05261
Signed by: min
SSH Key Fingerprint: SHA256:NFjjdbkd6u7aoMlcrDCVvz6o2UBtlAuPm8IQ2vhZ3Fg
1 changed files with 7 additions and 0 deletions

View File

@ -95,5 +95,12 @@ in {
hostKeys = ["/persist/etc/secrets/initrd/ssh_host_ed25519_key"]; hostKeys = ["/persist/etc/secrets/initrd/ssh_host_ed25519_key"];
}; };
# Periodic nix gc
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
system.stateVersion = "24.05"; system.stateVersion = "24.05";
} }