From c02ed22a0851a3844576f5c92fae19734d23b1f2 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 25 Jul 2017 11:27:41 +0200 Subject: gkleen@hel --- users/gkleen@hel.nix | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'users') diff --git a/users/gkleen@hel.nix b/users/gkleen@hel.nix index 13607a9f..8dd563d7 100644 --- a/users/gkleen@hel.nix +++ b/users/gkleen@hel.nix @@ -1,5 +1,11 @@ { packageOverrides = pkgs: with pkgs; { + zathura = lib.overrideDerivation zathura (oldAttrs: { + postInstall = '' + warpProgram $out/bin/zathura \ + --set GDK_SCALE 1 + ''; + }); chromium-wrapper = symlinkJoin { name = ''${chromium.name}-wrapped''; paths = [ chromium ]; @@ -32,30 +38,35 @@ export PATH=${psmisc}/bin:$PATH + trap "killall -s USR2 -u $(whoami) -- dunst" EXIT + killall -s USR1 -u "$(whoami)" -- dunst $@ - killall -s USR2 -u "$(whoami)" -- dunst ''; gajim = lib.overrideDerivation gajim (old: { enableNotifications = true; - extraPythonPackages = (p: [ p.pygments ]); }); haskellPackages = haskellPackages.override { overrides = self: super: with super; { extended-reals = haskell.lib.doJailbreak extended-reals; pandoc-crossref = haskell.lib.dontTest pandoc-crossref; + yesod-bin = haskell.lib.appendPatch yesod-bin ../patches/yesod-bin.patch; } // (import ../custom/thermoprint { inherit pkgs; }); }; + firefox-unwrapped = firefox-unwrapped.override { + enableOfficialBranding = true; + }; + mpv = mpv.override { + vaapiSupport = true; + }; } // (import ../utils/nix/default.nix) {}; + pulseaudio = true; + allowUnfree = true; chromium = { enableWideVine = true; hiDPI = true; }; - - mpv = { - vaapiSupport = true; - }; } -- cgit v1.2.3