kubernetes-deployments/nixng-configurations/prowlarr.nix

23 lines
343 B
Nix
Raw Normal View History

{
lib,
nglib,
config,
...
}: {
2024-12-23 17:58:03 +00:00
dinit.enable = true;
init.services.prowlarr = {
shutdownOnExit = true;
group = lib.mkForce "media";
};
2024-12-23 17:58:03 +00:00
services.prowlarr = {
enable = true;
dataDir = "/config";
};
users.groups.media = nglib.mkDefaultRec {
gid = config.ids.gids.media;
members = ["prowlarr"];
};
2024-12-23 17:58:03 +00:00
}