summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/gui/pipewire.nix
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/gui/pipewire.nix')
-rw-r--r--makefu/2configs/gui/pipewire.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/makefu/2configs/gui/pipewire.nix b/makefu/2configs/gui/pipewire.nix
new file mode 100644
index 000000000..eb94f75b7
--- /dev/null
+++ b/makefu/2configs/gui/pipewire.nix
@@ -0,0 +1,21 @@
+{ config, lib, pkgs, ... }:
+# TODO test `alsactl init` after suspend to reinit mic
+{
+ security.rtkit.enable = true;
+ hardware.pulseaudio.enable = lib.mkForce false;
+
+ environment.systemPackages = with pkgs; [
+ alsaUtils
+ pulseaudio
+ ponymix
+ ];
+
+ services.pipewire = {
+ enable = true;
+ systemWide = true;
+ alsa.enable = true;
+ alsa.support32Bit = true;
+ pulse.enable = true;
+ jack.enable = true;
+ };
+}