stockholm/makefu/2configs/gui/pipewire.nix
2023-04-29 21:29:55 +02:00

21 lines
413 B
Nix

{ 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;
};
}