nixos-dotfiles/modules/audio/pipewire.nix

21 lines
434 B
Nix
Executable File

{ pkgs, ... }: {
security.rtkit.enable = true;
hardware.pulseaudio.enable = false;
environment.systemPackages = with pkgs; [
pulseaudio # This is instaleld to get access to pactl. It isn't enabled or run as a service.
pavucontrol
wireplumber
alsa-oss
];
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
}