add bazarr

This commit is contained in:
Yan Lin 2025-12-10 22:39:39 +01:00
parent c02ba26953
commit d1e601f3a2
4 changed files with 34 additions and 0 deletions

View file

@ -23,6 +23,7 @@ in
deluge.enable = lib.mkEnableOption "Deluge torrent client"; # web port 8112
plex.enable = lib.mkEnableOption "Plex media server"; # port 32400
lidarr.enable = lib.mkEnableOption "Lidarr music management"; # port 8686
bazarr.enable = lib.mkEnableOption "Bazarr subtitle management"; # port 6767
};
config = {
@ -75,5 +76,12 @@ in
group = cfg.group;
openFirewall = false;
};
services.bazarr = lib.mkIf cfg.bazarr.enable {
enable = true;
user = cfg.user;
group = cfg.group;
openFirewall = false;
};
};
}