Add garabage collection

This commit is contained in:
2026-01-31 12:07:33 +01:00
parent 4a6b9c67d0
commit 8f2633c115
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
{ config, pkgs, ... }:
{
nix = {
settings.auto-optimise-store = true;
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
};
}