summaryrefslogtreecommitdiff
path: root/bragi.nix
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-08-03 12:20:56 +0200
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-08-03 12:20:56 +0200
commitc3a02927d1b2c411e69f2c63f4d7849789171657 (patch)
tree5e1c2e868e16286728a344639b76fb54635e9d14 /bragi.nix
parentff8e319f2ccc1ce14819338763cf3908a01fe0bd (diff)
downloadnixos-c3a02927d1b2c411e69f2c63f4d7849789171657.tar
nixos-c3a02927d1b2c411e69f2c63f4d7849789171657.tar.gz
nixos-c3a02927d1b2c411e69f2c63f4d7849789171657.tar.bz2
nixos-c3a02927d1b2c411e69f2c63f4d7849789171657.tar.xz
nixos-c3a02927d1b2c411e69f2c63f4d7849789171657.zip
allow mpd to lock down sufficient ram
Diffstat (limited to 'bragi.nix')
-rw-r--r--bragi.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/bragi.nix b/bragi.nix
index fe8ab8f4..2c8f6bf0 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -157,6 +157,9 @@ in rec {
157 group = "audio"; 157 group = "audio";
158 }; 158 };
159 systemd.services."mpd".requires = [ "jack.service" ]; 159 systemd.services."mpd".requires = [ "jack.service" ];
160 systemd.services."mpd".serviceConfig = {
161 LimitMEMLOCK = "infinity";
162 };
160 163
161 users.extraUsers.jack = { 164 users.extraUsers.jack = {
162 name = "jack"; 165 name = "jack";