feat(services/self_host): provied the jellyfin configuration

This commit is contained in:
Raphael 2025-11-10 12:59:51 +01:00
parent 87c00e68c7
commit c616d868b5
No known key found for this signature in database

View file

@ -9,6 +9,12 @@ let
in in
{ {
config = lib.mkIf cfg { config = lib.mkIf cfg {
users = {
groups.datausers = { };
users = {
jellyfin.extraGroups = [ "datausers" ];
};
};
services = { services = {
jellyfin = jellyfin =
{ {
@ -19,15 +25,38 @@ in
qbittorrent = { qbittorrent = {
enable = true; enable = true;
dataDir = "/mnt/data/downloads"; openFirewall = true;
webui.port = 8137; user = "qbittorrent";
}; group = "datausers";
webuiPort = 8137;
serverConfig = {
Preferences = {
Downloads = {
SavePath = "/mnt/data/downloads";
TempPathEnabled = false;
};
General = {
Locale = "fr_FR";
};
WebUI = {
Username = "raphael";
Password_PBKDF2 = "@ByteArray(CmH/e4LVehCMTT2BUTVo5g==:VqhgnDIsg0owhZqINmi6O0Ac3tXgz6JYAkxB7sqSH18VPQ6R6Tz9jT2a6KXtld4wG6ld41nFXSst0UqRFTUTUw==)";
};
};
};
};
flaresolverr = {
enable = true;
openFirewall = true;
port = 8191;
};
radarr = { radarr = {
enable = true; enable = true;
dataDir = "/var/lib/radarr"; dataDir = "/var/lib/radarr";
user = "radarr"; user = "radarr";
group = "media"; group = "datausers";
openFirewall = true; openFirewall = true;
}; };
@ -38,6 +67,23 @@ in
}; };
bazarr.enable = true; bazarr.enable = true;
nginx.virtualHosts = {
"jellyfin.enium.eu" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8096";
};
};
"radarr.enium.eu" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:7878";
};
};
};
}; };
}; };
} }