summaryrefslogtreecommitdiff
path: root/nixos/modules/system/audio
diff options
context:
space:
mode:
authorseraphim <18ycm9tx@anonaddy.me>2026-08-04 13:28:39 +0700
committerseraphim <18ycm9tx@anonaddy.me>2026-08-04 13:28:39 +0700
commitbe1db27940f3612a0b1a10ca17bfd5be670fd850 (patch)
tree4c179819d89a7d842cd9b78fd54c11e06922c3c8 /nixos/modules/system/audio
parent4eba57f4e787bf97fe7dcb0e1702723aa08de01d (diff)
,
Diffstat (limited to 'nixos/modules/system/audio')
-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;