summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bragi.nix10
1 files changed, 3 insertions, 7 deletions
diff --git a/bragi.nix b/bragi.nix
index b65e0598..be34aa61 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -37,6 +37,8 @@ in rec {
37 } 37 }
38 ); 38 );
39 39
40 jack2Full = pkgs.jack2Full.override { dbus = null; };
41
40 mpd = pkgs.symlinkJoin { 42 mpd = pkgs.symlinkJoin {
41 name = "mpd"; 43 name = "mpd";
42 paths = [ (pkgs.mpd.override { gmeSupport = false; pulseaudioSupport = false; }) ]; 44 paths = [ (pkgs.mpd.override { gmeSupport = false; pulseaudioSupport = false; }) ];
@@ -105,6 +107,7 @@ in rec {
105 User = "jack"; 107 User = "jack";
106 Group = "audio"; 108 Group = "audio";
107 UMask = "0000"; 109 UMask = "0000";
110 Nice = "-15";
108 }; 111 };
109 }; 112 };
110 113
@@ -149,13 +152,6 @@ in rec {
149 152
150 security.setuidPrograms = ["mount.nfs"]; 153 security.setuidPrograms = ["mount.nfs"];
151 154
152 security.pam.loginLimits =
153 [
154 { domain = "@audio"; item = "memlock"; type = "-"; value = "unlimited"; }
155 { domain = "@audio"; item = "rtprio"; type = "-"; value = "99"; }
156 { domain = "@audio"; item = "nofile"; type = "soft"; value = "99999"; }
157 { domain = "@audio"; item = "nofile"; type = "hard"; value = "99999"; }
158 ];
159 programs.bash.promptInit = '' 155 programs.bash.promptInit = ''
160 PROMPT_COLOR="1;31m" 156 PROMPT_COLOR="1;31m"
161 return $UID && PROMPT_COLOR="1;32m" 157 return $UID && PROMPT_COLOR="1;32m"