nix/base/nix/gc.nix
2025-07-21 00:55:23 +10:00

27 lines
485 B
Nix

{ pkgs, inputs, ... }:
{
imports = [
inputs.angrr.nixosModules.angrr
];
nix.gc = {
automatic = true;
dates = "weekly";
persistent = true;
options = "--delete-older-than 14d";
};
hm.nix.gc = {
automatic = true;
frequency = "weekly";
options = "--delete-older-than 14d";
};
services.angrr = {
enable = true;
enableNixGcIntegration = true;
period = "2weeks";
package = inputs.angrr.packages.${pkgs.system}.default;
};
}