nixos-config/common/components/sound.nix

15 lines
344 B
Nix
Raw Permalink Normal View History

2024-04-22 21:47:52 +02:00
{
# Enable sound with pipewire.
2024-12-12 13:33:48 +01:00
# Starting with 24.11, pipewire is installed by default instead of pulseaudio.
# sound.enable = true;
# hardware.pulseaudio.enable = false;
2024-04-22 21:47:52 +02:00
security.rtkit.enable = true;
2024-04-23 16:19:33 +02:00
2024-04-22 21:47:52 +02:00
services.pipewire = {
2024-12-12 13:33:48 +01:00
# enable = true;
2024-04-22 21:47:52 +02:00
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
2024-04-23 16:19:33 +02:00
}