diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-08-02 20:09:03 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-08-02 20:09:03 +0200 |
commit | 8ab6660fc10e507d916877eb29e75c35a56d3db4 (patch) | |
tree | cf6b2b2e200153fbbd48fa167e59648c27afde95 | |
parent | 2603a0a901193d565a759763984400844a7065fc (diff) | |
download | nixos-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.nix | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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"; |