mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-25 20:22:38 +02:00
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.
This commit is contained in:
parent
5a7816aec8
commit
73e5e99ccd
@ -1,3 +1,5 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -12,5 +14,9 @@
|
|||||||
lowLatency.enable = true;
|
lowLatency.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
pulseaudio
|
||||||
|
];
|
||||||
|
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user