removed serviceBase function

This commit is contained in:
2024-07-05 21:05:52 -06:00
parent 8d70d160cf
commit a02bbd1cc9
4 changed files with 20 additions and 21 deletions

View File

@@ -1,8 +1,11 @@
{ lib, config, serviceBase, proxyReverse, ... }: {
{ lib, config, proxyReverse, ... }: {
options.my.servers.bazarr.enable = lib.mkEnableOption "enable";
config = lib.mkIf config.my.servers.bazarr.enable {
services = {
bazarr = serviceBase // { };
bazarr = {
enable = true;
group = "piracy";
};
nginx = {
enable = true;
virtualHosts."subs.${config.my.domain}" =