summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-08-02 20:09:03 +0200
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-08-02 20:09:03 +0200
commit8ab6660fc10e507d916877eb29e75c35a56d3db4 (patch)
treecf6b2b2e200153fbbd48fa167e59648c27afde95
parent2603a0a901193d565a759763984400844a7065fc (diff)
downloadnixos-8ab6660fc10e507d916877eb29e75c35a56d3db4.tar
nixos-8ab6660fc10e507d916877eb29e75c35a56d3db4.tar.gz
nixos-8ab6660fc10e507d916877eb29e75c35a56d3db4.tar.bz2
nixos-8ab6660fc10e507d916877eb29e75c35a56d3db4.tar.xz
nixos-8ab6660fc10e507d916877eb29e75c35a56d3db4.zip
wait more for jack
-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";