From 666435f968731b49b1fd5234a898516d76df6bde Mon Sep 17 00:00:00 2001 From: Satria Date: Fri, 6 Mar 2026 19:34:45 +0700 Subject: [PATCH] enable jellyfin --- modules/system/homelab/dash.nix | 1 + modules/system/homelab/media.nix | 65 ++++++++++++++++---------------- modules/system/homelab/proxy.nix | 8 +--- modules/system/server.nix | 2 +- 4 files changed, 35 insertions(+), 41 deletions(-) diff --git a/modules/system/homelab/dash.nix b/modules/system/homelab/dash.nix index 12bf237..ca9b62a 100644 --- a/modules/system/homelab/dash.nix +++ b/modules/system/homelab/dash.nix @@ -58,6 +58,7 @@ [ "AdGuardHome" "adguard" "https://dns.proxy.${homelab.domain}" "http://localhost:8088/" ] [ "ApacheHTTPD" "apache" "https://cdn.proxy.${homelab.domain}" "http://localhost:3000/" ] [ "Immich" "immich" "https://gallery.proxy.${homelab.domain}" "http://localhost:2283/" ] + [ "Jellyfin" "jellyfin" "https://media.proxy.${homelab.domain}" "http://localhost:8096/" ] [ "VaultWarden" "vaultwarden" "https://pass.proxy.${homelab.domain}" "http://localhost:8060/" ] [ "Ollama" "ollama" "https://ai.proxy.${homelab.domain}" "http://localhost:8080/" ] [ "Dockge" "docker" "https://containers.proxy.${homelab.domain}" "http://localhost:5001/" ] diff --git a/modules/system/homelab/media.nix b/modules/system/homelab/media.nix index 949e6cd..0fde8ce 100644 --- a/modules/system/homelab/media.nix +++ b/modules/system/homelab/media.nix @@ -1,5 +1,4 @@ { pkgs, ... }: { - # WIP: declaratively integrate media services into homelab configuration environment.systemPackages = with pkgs; [ jellyfin jellyfin-web jellyfin-ffmpeg ]; @@ -8,37 +7,37 @@ enable = true; hardwareAcceleration.enable = true; }; - jellyseerr = { - enable = true; - port = 5055; - }; - radarr = { - enable = true; - settings = { - server = { - port = 7878; - bindaddress = "127.0.0.1"; - }; - }; - }; - sonarr = { - enable = true; - server = { - port = 8989; - bindaddress = "127.0.0.1"; - }; - }; - qbittorrent = { - enable = true; - webuiPort = 8020; - }; - jackett = { - enable = true; - port = 9117; - }; - flaresolverr = { - enable = true; - port = 8191; - }; + # jellyseerr = { + # enable = true; + # port = 5055; + # }; + # radarr = { + # enable = true; + # settings = { + # server = { + # port = 7878; + # bindaddress = "127.0.0.1"; + # }; + # }; + # }; + # sonarr = { + # enable = true; + # server = { + # port = 8989; + # bindaddress = "127.0.0.1"; + # }; + # }; + # qbittorrent = { + # enable = true; + # webuiPort = 8020; + # }; + # jackett = { + # enable = true; + # port = 9117; + # }; + # flaresolverr = { + # enable = true; + # port = 8191; + # }; }; } \ No newline at end of file diff --git a/modules/system/homelab/proxy.nix b/modules/system/homelab/proxy.nix index ac88036..b0d66e3 100644 --- a/modules/system/homelab/proxy.nix +++ b/modules/system/homelab/proxy.nix @@ -4,19 +4,13 @@ "dns" = { dest = "http://localhost:8088"; auth = true; }; "ai" = { dest = "http://localhost:8080"; auth = true; }; - # "jsr" = { dest = "http://localhost:5055"; auth = false; }; - # "rdr" = { dest = "http://localhost:5055"; auth = false; }; - # "snr" = { dest = "http://localhost:5055"; auth = false; }; - # "qbt" = { dest = "http://localhost:8020"; auth = false; }; - # "jkt" = { dest = "http://localhost:9117"; auth = false; }; - # "media" = { dest = "http://localhost:8096"; auth = false; }; - "auth" = { dest = "http://localhost:1411"; auth = false; }; "git" = { dest = "http://localhost:5080"; auth = false; }; "containers" = { dest = "http://localhost:5001"; auth = false; }; "gallery" = { dest = "http://localhost:2283"; auth = false; }; "remote" = { dest = "http://localhost:8085"; auth = false; }; + "media" = { dest = "http://localhost:8096"; auth = false; }; "pass" = { dest = "http://localhost:8060"; auth = false; }; "cdn" = { dest = "http://localhost:3000"; auth = false; }; "@" = { dest = "http://localhost:5070"; auth = false; }; diff --git a/modules/system/server.nix b/modules/system/server.nix index bce1b6e..a058067 100644 --- a/modules/system/server.nix +++ b/modules/system/server.nix @@ -10,7 +10,7 @@ in { ./homelab/gallery.nix ./homelab/tunnels.nix ./homelab/remote.nix - # ./homelab/media.nix # wip + ./homelab/media.nix ./homelab/share.nix ./homelab/proxy.nix ./homelab/auth.nix