diff options
author | lassulus <lassulus@lassul.us> | 2022-11-01 11:03:54 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-11-01 11:03:54 +0100 |
commit | e5bb7bf7d1f02e0c141ca213c8967bdee8f7736f (patch) | |
tree | 84ce42d097fd87ba33a0eb21149c7de6c5c9524c /makefu/2configs/gui/pipewire.nix | |
parent | d999eca9191dc604bf744b42a9ccec3faab23ce5 (diff) | |
parent | e6513be864c7d27c36eb9d6ba504de65e48fde13 (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/gui/pipewire.nix')
-rw-r--r-- | makefu/2configs/gui/pipewire.nix | 21 |
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; + }; +} |