nh: use this to clean instead

This commit is contained in:
Christoph Hollizeck 2025-12-15 16:47:04 +01:00
parent 595b997e3f
commit 00627f7945
Signed by: Daholli
GPG key ID: 249300664F2AF2C7

View file

@ -29,6 +29,9 @@
enable = true;
package = inputs.nh-flake.packages.${pkgs.stdenv.hostPlatform.system}.nh;
flake = "/home/${username}/projects/config";
clean.enable = true;
clean.extraArgs = "--keep-since 7d --keep 5";
};
nix = {
@ -77,12 +80,6 @@
keep-outputs = true;
keep-derivations = true;
});
gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than 7d";
};
};
};
}