dotfiles/hosts/strix/system/sound.nix

17 lines
325 B
Nix
Executable file

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