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
12 lines
402 B
Nix
12 lines
402 B
Nix
{ 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;
|
|
}
|