feat(merope): init jellyfin

This commit is contained in:
Gabriel Fontes
2025-09-16 17:21:29 -03:00
parent 4bf25f7fd4
commit 4465058f13
2 changed files with 19 additions and 0 deletions
+1
View File
@@ -1,5 +1,6 @@
{
imports = [
./navidrome.nix
./jellyfin.nix
];
}
+18
View File
@@ -0,0 +1,18 @@
let
# https://jellyfin.org/docs/general/post-install/networking/
# TODO: https://github.com/Sveske-Juice/declarative-jellyfin
port = 8096;
in {
services = {
jellyfin = {
enable = true;
};
nginx.virtualHosts = {
"media.m7.rs" = {
forceSSL = true;
enableACME = true;
locations."/".proxyPass = "http://localhost:${toString port}";
};
};
};
}