nixconf/common/spotify.nix
2024-03-27 13:53:12 +01:00

14 lines
301 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
];
})
];
}