Nix-Hyprland/nixos/modules/sound.nix
2024-04-17 05:52:14 +05:00

19 lines
350 B
Nix

{
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;
};
}