diff options
author | makefu <github@syntax-fehler.de> | 2022-09-25 18:20:34 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2022-09-25 18:20:34 +0200 |
commit | 809a10fccb3fb7a1fad93c3f8ab559f224fab626 (patch) | |
tree | 966370ee943b4bd08f11a9abcbb055345621bfce /makefu/2configs/gui/pipewire.nix | |
parent | 65e1ab6bff14cdf9d7ca2b46c91462da9148db72 (diff) |
ma gui/pipewire: init
Diffstat (limited to 'makefu/2configs/gui/pipewire.nix')
-rw-r--r-- | makefu/2configs/gui/pipewire.nix | 20 |
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; + }; +} |