audio: enable security.rtkit for pipewire

This should avoid stuttering audio when CPU is busy

See: https://nixos.wiki/wiki/PipeWire
This commit is contained in:
teutat3s 2022-11-20 23:40:24 +01:00
parent f6062d0019
commit 805df1c2f1
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -54,6 +54,8 @@ in
}; };
}; };
# rtkit is optional but recommended
security.rtkit.enable = true;
# Enable sound using pipewire-pulse # Enable sound using pipewire-pulse
services.pipewire = { services.pipewire = {
enable = true; enable = true;