From 8ab6660fc10e507d916877eb29e75c35a56d3db4 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 2 Aug 2016 20:09:03 +0200 Subject: wait more for jack --- bragi.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bragi.nix b/bragi.nix index 8db6110c..4809230a 100644 --- a/bragi.nix +++ b/bragi.nix @@ -114,6 +114,7 @@ in rec { serviceConfig = { Type = "simple"; ExecStart = "${pkgs.jack2Full}/bin/jackd -d alsa -d 'hw:1' -M -H -r 96000"; + ExecStartPost = "${pkgs.jack2Full}/bin/jack_wait"; User = "jack"; Group = "audio"; UMask = "0000"; @@ -153,6 +154,7 @@ in rec { user = "mpd"; group = "audio"; }; + systemd.services."mpd".requires = [ "jack.service" ]; users.extraUsers.jack = { name = "jack"; -- cgit v1.2.3