From 521ad52b0b9f5a1a66bae4611d811b834fb5985e Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 2 Aug 2016 19:04:47 +0200 Subject: configure jack more cleanly --- bragi.nix | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/bragi.nix b/bragi.nix index b6be74ea..b65e0598 100644 --- a/bragi.nix +++ b/bragi.nix @@ -37,18 +37,6 @@ in rec { } ); - jack2Full = pkgs.symlinkJoin { - name = "jack2"; - paths = [ (pkgs.jack2Full.override { dbus = null; }) ]; - buildInputs = [ pkgs.makeWrapper ]; - postBuild = '' - for bin in $out/bin/${"*"}; do - wrapProgram $bin \ - --run "umask 0" - done - ''; - }; - mpd = pkgs.symlinkJoin { name = "mpd"; paths = [ (pkgs.mpd.override { gmeSupport = false; pulseaudioSupport = false; }) ]; @@ -116,6 +104,7 @@ in rec { ExecStart = "${pkgs.jack2Full}/bin/jackd -d alsa -d 'hw:1' -M -H -r 96000"; User = "jack"; Group = "audio"; + UMask = "0000"; }; }; -- cgit v1.2.3