mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-08-28 02:24:12 -05:00
feat(merope): init jellyfin
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
imports = [
|
||||
./navidrome.nix
|
||||
./jellyfin.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -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}";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user