Nix-Hyprland/nixos/modules/sound.nix

19 lines
350 B
Nix
Raw Normal View History

2024-04-16 20:52:14 -04:00
{
hardware.pulseaudio.enable = false;
sound.enable = true;
# rtkit is optional but recommended
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
# If you want to use JACK applications, uncomment this
#jack.enable = true;
};
}