Enable RTKit when using pipewire

This commit is contained in:
Artemis Tosini 2021-08-26 22:17:47 +00:00
parent 925a106692
commit 99adc0eb3a
Signed by: artemist
GPG key ID: ADFFE553DCBB831E

22
sets/pipewire.nix Normal file
View file

@ -0,0 +1,22 @@
{ pkgs, lib, ... }:
{
services.pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = pkgs.targetPlatform.system == "x86_64-linux";
};
pulse.enable = true;
jack.enable = true;
};
hardware.pulseaudio.enable = lib.mkForce false;
security.rtkit.enable = true;
environment.systemPackages = with pkgs; [
pulseaudioLight
qjackctl
carla
lsp-plugins
];
}