27 lines
485 B
Nix
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;
|
|
};
|
|
|
|
}
|