mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-15 12:54:15 +01:00
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;
|
|
}
|