Added Jellyfin service to jupiter

This commit is contained in:
2026-07-17 23:12:04 +02:00
parent ac05d948b6
commit fe5b363b73
2 changed files with 18 additions and 0 deletions
+2
View File
@@ -13,6 +13,7 @@
../../services/containers.nix
../../services/caddy.nix
../../services/tailscale.nix
../../services/jellyfin.nix
];
# ---- Host identity ----
@@ -52,6 +53,7 @@
services.caddy.virtualHosts = {
"http://localhost".extraConfig = "reverse_proxy localhost:8080";
"http://audiobookshelf.jupiter.sol".extraConfig = "reverse_proxy localhost:8000";
"http://jellyfin.jupiter.sol".extraConfig = "reverse_proxy localhost:8096";
};
system.stateVersion = "26.05";
+16
View File
@@ -0,0 +1,16 @@
{ ... }:
# Audiobookshelf audiobook/podcast server.
# Listens on all interfaces: :8000 stays closed on the LAN (no openFirewall),
# but reachable over the trusted tailscale0 interface and via localhost (caddy).
# Library/media paths are set in the web UI — point them at /mnt/data/...
# Runs as user `audiobookshelf`; added to `users` so it can read group-owned
# library dirs on the RAID.
{
services.jellyfin = {
enable = true;
dataDir = "/mnt/data/AppData/jellyfin";
cacheDir = "${cfg.dataDir}/cache";
};
users.users.jellyfin.extraGroups = [ "users" ];
}