stockholm/makefu/2configs/gui/pipewire.nix

22 lines
435 B
Nix
Raw Normal View History

2022-09-25 16:20:34 +00:00
{ config, lib, pkgs, ... }:
# TODO test `alsactl init` after suspend to reinit mic
{
security.rtkit.enable = true;
hardware.pulseaudio.enable = lib.mkForce false;
2022-09-25 16:20:34 +00:00
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;
};
}