diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-09 16:04:07 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-09 16:04:07 +0100 |
commit | 78d20865d0ff0e743c0654600fa854bdb3fa6c99 (patch) | |
tree | 77b2cb53d3dca6a2e9e93b0d489776657d535203 | |
parent | 879e4d4df3de9cd634f911cf320221b41dfa0427 (diff) | |
download | nixos-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.nix | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 = { |