angrr: add as NixOS and nix-darwin module

pulled in as flake because the darwin module has not been upstreamed
yet, anf or consistency sake take all modules from the same source then
This commit is contained in:
Trolli Schmittlauch 2026-02-07 03:55:08 +01:00
parent 577bcea995
commit 0bdd004824
5 changed files with 143 additions and 11 deletions

12
common/angrr.nix Normal file
View file

@ -0,0 +1,12 @@
{ config, ... }:
{
services.angrr = {
enable = true;
period = "30d";
package = config.inputInjection.flake-inputs.angrr.packages.${config.nixpkgs.hostPlatform.system}.angrr;
};
# angrr.service runs before nix-gc.service by default
nix.gc.automatic = true;
# we use the nix-direnv built-in refresh funtionality, pulled in via home manager
programs.direnv.angrr.enable = false;
}

View file

@ -17,6 +17,7 @@ in
./upgrade-diff.nix
./guest.nix
./audio-sharing.nix
./angrr.nix
];
services.davfs2.enable = true;