🔧 nix gc delete older than 30 days

This commit is contained in:
James Walker 2023-06-19 16:36:44 -04:00
parent 22e576d8e9
commit 9a6f773f68
Signed by: walkah
GPG Key ID: 3C127179D6086E93
2 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@
Minute = 16; Minute = 16;
Weekday = 6; Weekday = 6;
}; };
options = "--delete-older-than 30d";
}; };
settings = { settings = {
trusted-users = [ "root" "@admin" ]; trusted-users = [ "root" "@admin" ];

View File

@ -11,6 +11,7 @@
gc = { gc = {
persistent = true; persistent = true;
dates = "weekly"; dates = "weekly";
options = "--delete-older-than 30d";
}; };
settings = { settings = {