nix/hosts/laptop/modules/sound.nix

13 lines
352 B
Nix
Raw Normal View History

2024-12-02 03:57:34 -07:00
{ ... }:
{
# 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;
};
}