nix-config/modules/both/sound.nix
Gabe Venberg fe1ed3e1be IN PROGRESS COMMIT. does not currently build.
Attempting to make nixos config that incorperates a non-nixos HM config.
2024-04-03 17:50:53 -05:00

17 lines
285 B
Nix

{
config,
pkgs,
...
}: {
# Enable sound with pipewire.
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
}