nixconf/common/spotify.nix
2024-06-04 12:18:23 +02:00

14 lines
325 B
Nix

{ config, pkgs, inputs, ... }:
{
services.spotifyd.enable = true;
home.packages = with pkgs; [
(symlinkJoin {
name = "spotify";
paths = [
(writeShellScriptBin "spotify" ''${spotify}/bin/spotify --enable-features=UseOzonePlatform --ozone-platform=wayland'')
spotify
];
})
];
}