add lidarr to media server stack

This commit is contained in:
Yan Lin 2025-12-09 17:08:55 +01:00
parent dad4b6c3ca
commit 6123592f02
4 changed files with 34 additions and 0 deletions

View file

@ -22,6 +22,7 @@ in
jellyfin.enable = lib.mkEnableOption "Jellyfin media server"; # port 8096
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
};
config = {
@ -67,5 +68,12 @@ in
group = cfg.group;
openFirewall = false;
};
services.lidarr = lib.mkIf cfg.lidarr.enable {
enable = true;
user = cfg.user;
group = cfg.group;
openFirewall = false;
};
};
}