syntax changes + all the arrs modules
This commit is contained in:
17
modules/servers/prowlarr.nix
Normal file
17
modules/servers/prowlarr.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ lib, config, proxyReverseArr, ... }: {
|
||||
options.my.servers.prowlarr.enable = lib.mkEnableOption "enable";
|
||||
config = lib.mkIf config.my.servers.prowlarr.enable {
|
||||
users.users.prowlarr = {
|
||||
group = "piracy";
|
||||
isSystemUser = true;
|
||||
};
|
||||
services = {
|
||||
prowlarr.enable = true;
|
||||
nginx = {
|
||||
enable = true;
|
||||
virtualHosts."indexer.${config.my.domain}" = proxyReverseArr 9696
|
||||
// { };
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user