about summary refs log tree commit diff
path: root/modules/pipewire
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-17 19:09:27 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-17 19:09:27 +0200
commitad58b57df7b298bc3e25c578f590d44da3ce36c9 (patch)
tree28be43da790fa014e13a7284e5a5979537a8721a /modules/pipewire
downloadnixos-config-ad58b57df7b298bc3e25c578f590d44da3ce36c9.tar.gz
nixos-config-ad58b57df7b298bc3e25c578f590d44da3ce36c9.tar.bz2
nixos-config-ad58b57df7b298bc3e25c578f590d44da3ce36c9.zip
Initial commit
Diffstat (limited to 'modules/pipewire')
-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;
+}
+