{ pkgs, ... }: { # Real-time scheduling grants for the audio stack. security.rtkit.enable = true; # PipeWire is the desktop audio server; the PulseAudio shim keeps old # clients (e.g. MPD's "pulse" output) working without a real PulseAudio. services.pipewire = { enable = true; alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; }; environment.systemPackages = with pkgs; [ brightnessctl pamixer playerctl ]; }