nixos/hosts/common/optional/pipewire.nix

21 lines
375 B
Nix

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