1
0
forked from extern/nix-config
donovanglover-nix-config/desktop/pipewire/default.nix
Donovan Glover 73e5e99ccd
pipewire: Add pulseaudio
This is necessary so we can load the module-switch-on-connect module,
which makes switching between USB audio devices automatic among other
things.
2023-06-03 10:52:58 -04:00

23 lines
292 B
Nix

{ pkgs, ... }:
{
services.pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = true;
};
pulse.enable = true;
lowLatency.enable = true;
};
environment.systemPackages = with pkgs; [
pulseaudio
];
security.rtkit.enable = true;
}