nixos/services/pipewire.nix

14 lines
309 B
Nix
Raw Normal View History

2024-11-20 15:22:46 +01:00
{ lib, config, ... }:
lib.mkIf (lib.elem "pipewire" config.machine.services) {
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;
};
}