From 809a10fccb3fb7a1fad93c3f8ab559f224fab626 Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 25 Sep 2022 18:20:34 +0200 Subject: ma gui/pipewire: init --- makefu/2configs/gui/pipewire.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 makefu/2configs/gui/pipewire.nix (limited to 'makefu/2configs/gui/pipewire.nix') 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; + }; +} -- cgit v1.2.3