commit 52fc7af70acd4f73a91fa135b6054205a88d1d2d parent 1c26c93d2597235aaa479e38ee577c4ab3f539ea Author: Vincent Demeester <vincent@sbr.pm> Date: Mon, 19 Sep 2022 15:57:22 +0200 users/vincent: wrap spotify to support wayland Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | users/vincent/desktop/spotify.nix | | | 9 | ++++++++- |
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/users/vincent/desktop/spotify.nix b/users/vincent/desktop/spotify.nix @@ -1,5 +1,12 @@ { pkgs, ... }: +let + my-spotify = pkgs.writeShellScriptBin "spotify" '' + exec ${pkgs.spotify}/bin/spotify --enable-features=UseOzonePlatform --ozone-platform=wayland + ''; +in { - home.packages = with pkgs; [ spotify ]; + home.packages = [ + my-spotify + ]; }