{ config, pkgs, lib, ... }: { services = { playerctld.enable = true; mpris-proxy.enable = true; }; programs.niri.settings.binds = with config.lib.niri.actions; { "XF86AudioPlay".action = spawn (lib.getExe pkgs.playerctl) "play-pause"; "XF86AudioNext".action = spawn (lib.getExe pkgs.playerctl) "next"; "XF86AudioPrev".action = spawn (lib.getExe pkgs.playerctl) "previous"; }; }