nixos/hardware/audio.nix

20 lines
404 B
Nix
Raw Normal View History

{ 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;
};
programs.noisetorch.enable = true;
environment.systemPackages = [
pkgs.pavucontrol
pkgs.pamixer
pkgs.pulseaudio
];
}