summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-03-09 16:04:07 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-03-09 16:04:07 +0100
commit78d20865d0ff0e743c0654600fa854bdb3fa6c99 (patch)
tree77b2cb53d3dca6a2e9e93b0d489776657d535203
parent879e4d4df3de9cd634f911cf320221b41dfa0427 (diff)
downloadnixos-78d20865d0ff0e743c0654600fa854bdb3fa6c99.tar
nixos-78d20865d0ff0e743c0654600fa854bdb3fa6c99.tar.gz
nixos-78d20865d0ff0e743c0654600fa854bdb3fa6c99.tar.bz2
nixos-78d20865d0ff0e743c0654600fa854bdb3fa6c99.tar.xz
nixos-78d20865d0ff0e743c0654600fa854bdb3fa6c99.zip
Allow MPD to be RT (maybe)
-rw-r--r--bragi.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/bragi.nix b/bragi.nix
index c128f0ac..a37eb915 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -162,6 +162,8 @@ in rec {
162 systemd.services."mpd".requires = [ "jack.service" ]; 162 systemd.services."mpd".requires = [ "jack.service" ];
163 systemd.services."mpd".serviceConfig = { 163 systemd.services."mpd".serviceConfig = {
164 LimitMEMLOCK = "infinity"; 164 LimitMEMLOCK = "infinity";
165 Nice = "-5";
166 LimitRTPRIO = "95:95";
165 }; 167 };
166 168
167 users.extraUsers.jack = { 169 users.extraUsers.jack = {