summaryrefslogtreecommitdiff
path: root/bragi.nix
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-08-02 19:04:47 +0200
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-08-02 19:04:47 +0200
commit521ad52b0b9f5a1a66bae4611d811b834fb5985e (patch)
treee6db086eb6fed39245afb913b19eb959273b748c /bragi.nix
parent3d1473971312c8aab019808f9c14eeb2254b9440 (diff)
downloadnixos-521ad52b0b9f5a1a66bae4611d811b834fb5985e.tar
nixos-521ad52b0b9f5a1a66bae4611d811b834fb5985e.tar.gz
nixos-521ad52b0b9f5a1a66bae4611d811b834fb5985e.tar.bz2
nixos-521ad52b0b9f5a1a66bae4611d811b834fb5985e.tar.xz
nixos-521ad52b0b9f5a1a66bae4611d811b834fb5985e.zip
configure jack more cleanly
Diffstat (limited to 'bragi.nix')
-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