nixos/hosts/common/optional/pipewire.nix

22 lines
426 B
Nix

{ pkgs, ... }:
{
sound.enable = true;
#hardware.pulseaudio.enable = true;
security.rtkit.enable = true;
#hardware.pulseaudio.package = pkgs.pulseaudioFull;
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
];
}