nixos/services/pipewire.nix

16 lines
349 B
Nix

{ lib, config, ... }:
lib.mkIf (lib.elem "pipewire" config.machine.services) {
security.rtkit.enable = true;
services = {
pulseaudio.enable = false;
pipewire = {
enable = true;
wireplumber.enable = true;
audio.enable = true;
alsa.enable = true;
pulse.enable = true;
jack.enable = true;
};
};
}