all repos — nixfiles @ 359e3d5a5bfa23c63b0f0347324a3131cdf9d2ad

System and user configuration, managed by nix and home-manager

update flake inputs and angrr config

Alan Pearce
commit

359e3d5a5bfa23c63b0f0347324a3131cdf9d2ad

parent

c47421a5bb836e218a16caf9b59ecd2356000999

1 file changed, 31 insertions(+), 2 deletions(-)

changed files
M system/settings/configuration/nix.nix → system/settings/configuration/nix.nix
@@ -48,7 +48,36 @@ };
services.angrr = { enable = true; - period = "30d"; - ownedOnly = false; + settings = { + temporary-root-policies = { + direnv = { + path-regex = "/\\.direnv/"; + period = "14d"; + }; + result = { + path-regex = "/result[^/]*$"; + period = "3d"; + }; + }; + profile-policies = { + system = { + profile-paths = [ "/nix/var/nix/profiles/system" ]; + keep-since = "30d"; + keep-latest-n = 5; + keep-booted-system = true; + keep-current-system = true; + }; + user = { + enable = true; + profile-paths = [ + # `~` at the beginning will be expanded to the home directory of each discovered user + "~/.local/state/nix/profiles/profile" + "/nix/var/nix/profiles/per-user/root/profile" + ]; + keep-since = "3d"; + keep-latest-n = 1; + }; + }; + }; }; }