22 lines
406 B
Nix
22 lines
406 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
# Install tools
|
|
environment.systemPackages = with pkgs; [
|
|
pavucontrol
|
|
playerctl
|
|
];
|
|
|
|
# Enable PipeWire and its PulseAudio compatibility layer
|
|
services.pipewire = {
|
|
enable = true;
|
|
audio.enable = true;
|
|
pulse.enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
};
|
|
|
|
# Disable legacy PulseAudio
|
|
services.pulseaudio.enable = false;
|
|
}
|