diff --git a/modules/hm/jellyfin-player.nix b/modules/hm/jellyfin-player.nix index 9c8b9bc..875c220 100644 --- a/modules/hm/jellyfin-player.nix +++ b/modules/hm/jellyfin-player.nix @@ -1 +1,11 @@ -{ pkgs, ... }: { home.packages = [ pkgs.jellyfin-media-player ]; } +{ pkgs, ... }: { + home.packages = [ + (pkgs.jellyfin-media-player.overrideAttrs (old: { + postInstall = '' + ${old.postInstall} + wrapProgram $out/bin/jellyfinmediaplayer \ + --unset WAYLAND_DISPLAY + ''; + })) + ]; +}