add lidarr to media server stack
This commit is contained in:
parent
dad4b6c3ca
commit
6123592f02
4 changed files with 34 additions and 0 deletions
|
|
@ -103,6 +103,10 @@
|
||||||
name = "Radarr";
|
name = "Radarr";
|
||||||
url = "https://radarr.yanlincs.com";
|
url = "https://radarr.yanlincs.com";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "Lidarr";
|
||||||
|
url = "https://lidarr.yanlincs.com";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name = "Deluge";
|
name = "Deluge";
|
||||||
url = "https://deluge.yanlincs.com";
|
url = "https://deluge.yanlincs.com";
|
||||||
|
|
|
||||||
|
|
@ -246,6 +246,7 @@
|
||||||
jellyfin.enable = true;
|
jellyfin.enable = true;
|
||||||
deluge.enable = true;
|
deluge.enable = true;
|
||||||
plex.enable = true;
|
plex.enable = true;
|
||||||
|
lidarr.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Borg backup configuration
|
# Borg backup configuration
|
||||||
|
|
|
||||||
|
|
@ -78,6 +78,18 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Lidarr music management
|
||||||
|
lidarr = {
|
||||||
|
rule = "Host(`lidarr.yanlincs.com`)";
|
||||||
|
service = "lidarr";
|
||||||
|
tls = {
|
||||||
|
certResolver = "cloudflare";
|
||||||
|
domains = [{
|
||||||
|
main = "*.yanlincs.com";
|
||||||
|
}];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
|
@ -136,6 +148,15 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Lidarr backend
|
||||||
|
lidarr = {
|
||||||
|
loadBalancer = {
|
||||||
|
servers = [{
|
||||||
|
url = "http://lan.hs.yanlincs.com:8686";
|
||||||
|
}];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ in
|
||||||
jellyfin.enable = lib.mkEnableOption "Jellyfin media server"; # port 8096
|
jellyfin.enable = lib.mkEnableOption "Jellyfin media server"; # port 8096
|
||||||
deluge.enable = lib.mkEnableOption "Deluge torrent client"; # web port 8112
|
deluge.enable = lib.mkEnableOption "Deluge torrent client"; # web port 8112
|
||||||
plex.enable = lib.mkEnableOption "Plex media server"; # port 32400
|
plex.enable = lib.mkEnableOption "Plex media server"; # port 32400
|
||||||
|
lidarr.enable = lib.mkEnableOption "Lidarr music management"; # port 8686
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|
@ -67,5 +68,12 @@ in
|
||||||
group = cfg.group;
|
group = cfg.group;
|
||||||
openFirewall = false;
|
openFirewall = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.lidarr = lib.mkIf cfg.lidarr.enable {
|
||||||
|
enable = true;
|
||||||
|
user = cfg.user;
|
||||||
|
group = cfg.group;
|
||||||
|
openFirewall = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue