forked from extern/nix-config
73e5e99ccd
This is necessary so we can load the module-switch-on-connect module, which makes switching between USB audio devices automatic among other things.
23 lines
292 B
Nix
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;
|
|
}
|