Modules/JellyfinTUI: Set jellyfin url depending on system (nixos/darwin)
This commit is contained in:
@ -23,10 +23,15 @@ in {
|
|||||||
];
|
];
|
||||||
|
|
||||||
file = let
|
file = let
|
||||||
|
jellyfinUrl =
|
||||||
|
if pkgs.stdenv.isLinux
|
||||||
|
then "https://jellyfin.local.chriphost.de"
|
||||||
|
else "https://jellyfin.vps.chriphost.de";
|
||||||
|
|
||||||
configFile = ''
|
configFile = ''
|
||||||
servers:
|
servers:
|
||||||
- name: Mafia Dortmund
|
- name: Mafia Dortmund
|
||||||
url: https://jellyfin.local.chriphost.de
|
url: ${jellyfinUrl};
|
||||||
username: root
|
username: root
|
||||||
password_file: ${systemConfig.sops.secrets.jellyfin-password.path}
|
password_file: ${systemConfig.sops.secrets.jellyfin-password.path}
|
||||||
default: true
|
default: true
|
||||||
|
|||||||
Reference in New Issue
Block a user