[nix] Adds GC

This commit is contained in:
2025-04-25 15:24:33 -07:00
parent 59ae2bd981
commit 28e9c221ad
5 changed files with 12 additions and 9 deletions

8
system/features/gc.nix Normal file
View File

@@ -0,0 +1,8 @@
{ ... }: {
# Automatic
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
}