summaryrefslogtreecommitdiffstats
path: root/makefu
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2022-09-25 18:20:34 +0200
committermakefu <github@syntax-fehler.de>2022-09-25 18:20:34 +0200
commit809a10fccb3fb7a1fad93c3f8ab559f224fab626 (patch)
tree966370ee943b4bd08f11a9abcbb055345621bfce /makefu
parent65e1ab6bff14cdf9d7ca2b46c91462da9148db72 (diff)
ma gui/pipewire: init
Diffstat (limited to 'makefu')
-rw-r--r--makefu/2configs/gui/pipewire.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/makefu/2configs/gui/pipewire.nix b/makefu/2configs/gui/pipewire.nix
new file mode 100644
index 000000000..ed552fe2e
--- /dev/null
+++ b/makefu/2configs/gui/pipewire.nix
@@ -0,0 +1,20 @@
+{ config, lib, pkgs, ... }:
+# TODO test `alsactl init` after suspend to reinit mic
+{
+ security.rtkit.enable = true;
+
+ 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;
+ };
+}