From 78d20865d0ff0e743c0654600fa854bdb3fa6c99 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 9 Mar 2017 16:04:07 +0100 Subject: Allow MPD to be RT (maybe) --- bragi.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bragi.nix b/bragi.nix index c128f0ac..a37eb915 100644 --- a/bragi.nix +++ b/bragi.nix @@ -162,6 +162,8 @@ in rec { systemd.services."mpd".requires = [ "jack.service" ]; systemd.services."mpd".serviceConfig = { LimitMEMLOCK = "infinity"; + Nice = "-5"; + LimitRTPRIO = "95:95"; }; users.extraUsers.jack = { -- cgit v1.2.3