summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bragi.nix13
1 files changed, 1 insertions, 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 {
37 } 37 }
38 ); 38 );
39 39
40 jack2Full = pkgs.symlinkJoin {
41 name = "jack2";
42 paths = [ (pkgs.jack2Full.override { dbus = null; }) ];
43 buildInputs = [ pkgs.makeWrapper ];
44 postBuild = ''
45 for bin in $out/bin/${"*"}; do
46 wrapProgram $bin \
47 --run "umask 0"
48 done
49 '';
50 };
51
52 mpd = pkgs.symlinkJoin { 40 mpd = pkgs.symlinkJoin {
53 name = "mpd"; 41 name = "mpd";
54 paths = [ (pkgs.mpd.override { gmeSupport = false; pulseaudioSupport = false; }) ]; 42 paths = [ (pkgs.mpd.override { gmeSupport = false; pulseaudioSupport = false; }) ];
@@ -116,6 +104,7 @@ in rec {
116 ExecStart = "${pkgs.jack2Full}/bin/jackd -d alsa -d 'hw:1' -M -H -r 96000"; 104 ExecStart = "${pkgs.jack2Full}/bin/jackd -d alsa -d 'hw:1' -M -H -r 96000";
117 User = "jack"; 105 User = "jack";
118 Group = "audio"; 106 Group = "audio";
107 UMask = "0000";
119 }; 108 };
120 }; 109 };
121 110