14 lines
360 B
Nix
14 lines
360 B
Nix
{ lib, config, proxyReverseArr, ... }: {
|
|
options.my.servers.radarr.enable = lib.mkEnableOption "enable";
|
|
config = lib.mkIf config.my.servers.radarr.enable {
|
|
services = {
|
|
radarr = {
|
|
enable = true;
|
|
group = "piracy";
|
|
};
|
|
nginx.virtualHosts."movies.${config.my.domain}" = proxyReverseArr 7878
|
|
// { };
|
|
};
|
|
};
|
|
}
|