syntax changes + all the arrs modules
This commit is contained in:
12
modules/servers/radarr.nix
Normal file
12
modules/servers/radarr.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ lib, config, serviceBase, proxyReverseArr, ... }: {
|
||||
options.my.servers.radarr.enable = lib.mkEnableOption "enable";
|
||||
config = lib.mkIf config.my.servers.radarr.enable {
|
||||
services = {
|
||||
radarr = serviceBase // { };
|
||||
nginx = {
|
||||
enable = true;
|
||||
virtualHosts."movies.${config.my.domain}" = proxyReverseArr 7878 // { };
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user