nix/hosts/laptop/modules/sound.nix

13 lines
352 B
Nix
Raw Normal View History

{ ... }:
{
# Disable pulseaudio
hardware.pulseaudio.enable = false;
security.rtkit.enable = true; # TODO Figure out what this does
# Enable pipewire with ALSA and PulseAudio compatibility
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
}