From 99adc0eb3a81e6d93e4e5a205465f08614fd6b0c Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Thu, 26 Aug 2021 22:17:47 +0000 Subject: [PATCH] Enable RTKit when using pipewire --- sets/pipewire.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 sets/pipewire.nix diff --git a/sets/pipewire.nix b/sets/pipewire.nix new file mode 100644 index 0000000..dd11c26 --- /dev/null +++ b/sets/pipewire.nix @@ -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 + ]; +}