diff --git a/home/homemodules/jellyfin-tui/default.nix b/home/homemodules/jellyfin-tui/default.nix index 1ef9d08d..660d841b 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