2022-09-25 18:20:34 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
# TODO test `alsactl init` after suspend to reinit mic
|
|
|
|
{
|
|
|
|
security.rtkit.enable = true;
|
2022-10-23 13:43:24 +02:00
|
|
|
hardware.pulseaudio.enable = lib.mkForce false;
|
2022-09-25 18:20:34 +02:00
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
alsaUtils
|
|
|
|
pulseaudio
|
|
|
|
ponymix
|
|
|
|
];
|
|
|
|
|
|
|
|
services.pipewire = {
|
|
|
|
enable = true;
|
2023-04-29 21:11:06 +02:00
|
|
|
# systemWide = true;
|
2022-09-25 18:20:34 +02:00
|
|
|
alsa.enable = true;
|
|
|
|
alsa.support32Bit = true;
|
|
|
|
pulse.enable = true;
|
|
|
|
};
|
|
|
|
}
|