about summary refs log tree commit diff
path: root/modules/pipewire/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pipewire/default.nix')
-rw-r--r--modules/pipewire/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/pipewire/default.nix b/modules/pipewire/default.nix
new file mode 100644
index 0000000..92a7e15
--- /dev/null
+++ b/modules/pipewire/default.nix
@@ -0,0 +1,20 @@
+{ config, pkgs, ... }:
+
+{
+  security.rtkit.enable = true;
+  services.pipewire = {
+    enable = true;
+    alsa = {
+      enable = true;
+      support32Bit = true;
+    };
+    pulse.enable = true;
+    jack.enable = true;
+  };
+
+  # Recent fix for pipewire-pulse breakage
+  systemd.user.services.pipewire-pulse.path = [ pkgs.pulseaudio ];
+
+  sound.enable = false;
+}
+