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