From 7ef554f858013163087a05ee3811ddadbc2a0109 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 9 Mar 2017 16:45:13 +0100 Subject: Clean up mpd wrapping --- bragi.nix | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/bragi.nix b/bragi.nix index 9214c894..62939d22 100644 --- a/bragi.nix +++ b/bragi.nix @@ -39,15 +39,7 @@ in rec { jack2Full = pkgs.jack2Full.override { dbus = null; }; - mpd = pkgs.symlinkJoin { - name = "mpd"; - paths = [ (pkgs.mpd.override { gmeSupport = false; pulseaudioSupport = false; }) ]; - buildInputs = [ pkgs.makeWrapper ]; - postBuild = '' - wrapProgram $out/bin/mpd \ - --run "umask 0" - ''; - }; + mpd = pkgs.mpd.override { gmeSupport = false; pulseaudioSupport = false; }; inherit (pkgs.callPackage ./custom/thermoprint { extraPackages = (p: with p; [ persistent-postgresql ]); }) thermoprint-server thermoprint-webgui tprint; @@ -164,6 +156,7 @@ in rec { LimitMEMLOCK = "infinity"; Nice = "-5"; LimitRTPRIO = "95:95"; + UMask = "0000"; }; users.extraUsers.jack = { -- cgit v1.2.3