From fd09734e36d6a20223a6aae39fb379ee365e5e01 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Thu, 26 Mar 2026 21:39:46 +0100 Subject: [PATCH] Modules/JellyfinTUI: Set jellyfin url depending on system (nixos/darwin) --- home/homemodules/jellyfin-tui/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/home/homemodules/jellyfin-tui/default.nix b/home/homemodules/jellyfin-tui/default.nix index 1ef9d08d..e04f0672 100644 --- a/home/homemodules/jellyfin-tui/default.nix +++ b/home/homemodules/jellyfin-tui/default.nix @@ -23,10 +23,15 @@ in { ]; file = let + jellyfinUrl = + if pkgs.stdenv.isLinux + then "https://jellyfin.local.chriphost.de" + else "https://jellyfin.vps.chriphost.de"; + configFile = '' servers: - name: Mafia Dortmund - url: https://jellyfin.local.chriphost.de + url: ${jellyfinUrl}; username: root password_file: ${systemConfig.sops.secrets.jellyfin-password.path} default: true