14 lines
341 B
Nix
14 lines
341 B
Nix
{ lib, config, ... }:
|
|
|
|
lib.mkIf (lib.elem "pipewire" config.machine.services) {
|
|
security.rtkit.enable = true;
|
|
hardware.pulseaudio.enable = lib.mkForce false;
|
|
services.pipewire = {
|
|
enable = true;
|
|
wireplumber.enable = true;
|
|
audio.enable = true;
|
|
alsa.enable = true;
|
|
pulse.enable = true;
|
|
jack.enable = true;
|
|
};
|
|
}
|