summaryrefslogtreecommitdiff
path: root/nixos/modules/system/audio/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/system/audio/default.nix')
-rw-r--r--nixos/modules/system/audio/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/system/audio/default.nix b/nixos/modules/system/audio/default.nix
index 140b08c..66ab087 100644
--- a/nixos/modules/system/audio/default.nix
+++ b/nixos/modules/system/audio/default.nix
@@ -1,7 +1,11 @@
{ pkgs, ... }:
{
+ # Real-time scheduling grants for the audio stack.
security.rtkit.enable = true;
+
+ # PipeWire is the desktop audio server; the PulseAudio shim keeps old
+ # clients (e.g. MPD's "pulse" output) working without a real PulseAudio.
services.pipewire = {
enable = true;
alsa.enable = true;