nixos/services/pipewire.nix

15 lines
341 B
Nix
Raw Normal View History

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