Update stdenv.isLinux and stdenv.isDarwin calls

This commit is contained in:
2026-08-31 20:30:05 +02:00
parent 08c2eb8bfe
commit daf7eb8d75
6 changed files with 13 additions and 13 deletions
+4 -4
View File
@@ -10,7 +10,7 @@
inherit (config.homemodules) jellyfin-tui color;
systemConfig =
if pkgs.stdenv.isLinux
if pkgs.stdenv.hostPlatform.isLinux
then nixosConfig
else darwinConfig;
in {
@@ -24,7 +24,7 @@ in {
file = let
jellyfinUrl =
if pkgs.stdenv.isLinux
if pkgs.stdenv.hostPlatform.isLinux
then "https://jellyfin.local.chriphost.de"
else "https://jellyfin.vps.chriphost.de";
@@ -79,10 +79,10 @@ in {
'';
in
lib.mkMerge [
(lib.optionalAttrs pkgs.stdenv.isLinux {
(lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
".config/jellyfin-tui/config.yaml".text = configFile;
})
(lib.optionalAttrs pkgs.stdenv.isDarwin {
(lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin {
"Library/Application Support/jellyfin-tui/config.yaml".text = configFile;
})
];