summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bragi.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/bragi.nix b/bragi.nix
index 8db6110c..4809230a 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -114,6 +114,7 @@ in rec {
114 serviceConfig = { 114 serviceConfig = {
115 Type = "simple"; 115 Type = "simple";
116 ExecStart = "${pkgs.jack2Full}/bin/jackd -d alsa -d 'hw:1' -M -H -r 96000"; 116 ExecStart = "${pkgs.jack2Full}/bin/jackd -d alsa -d 'hw:1' -M -H -r 96000";
117 ExecStartPost = "${pkgs.jack2Full}/bin/jack_wait";
117 User = "jack"; 118 User = "jack";
118 Group = "audio"; 119 Group = "audio";
119 UMask = "0000"; 120 UMask = "0000";
@@ -153,6 +154,7 @@ in rec {
153 user = "mpd"; 154 user = "mpd";
154 group = "audio"; 155 group = "audio";
155 }; 156 };
157 systemd.services."mpd".requires = [ "jack.service" ];
156 158
157 users.extraUsers.jack = { 159 users.extraUsers.jack = {
158 name = "jack"; 160 name = "jack";