diff options
-rw-r--r-- | patches/yesod-bin.patch | 13 | ||||
-rw-r--r-- | users/gkleen@hel.nix | 23 |
2 files changed, 30 insertions, 6 deletions
diff --git a/patches/yesod-bin.patch b/patches/yesod-bin.patch new file mode 100644 index 00000000..ac0fe42a --- /dev/null +++ b/patches/yesod-bin.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | diff --git a/Devel.hs b/Devel.hs | ||
2 | index 4289317..c951e37 100644 | ||
3 | --- a/Devel.hs | ||
4 | +++ b/Devel.hs | ||
5 | @@ -144,7 +144,7 @@ reverseProxy opts appPortVar = do | ||
6 | appPort <- atomically $ readTVar appPortVar | ||
7 | return $ | ||
8 | ReverseProxy.WPRProxyDest | ||
9 | - $ ProxyDest "127.0.0.1" appPort) | ||
10 | + $ ProxyDest "::1" appPort) | ||
11 | def | ||
12 | { wpsOnExc = \e req f -> onExc e req >>= f | ||
13 | , wpsTimeout = | ||
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 @@ | |||
1 | { | 1 | { |
2 | packageOverrides = pkgs: with pkgs; { | 2 | packageOverrides = pkgs: with pkgs; { |
3 | zathura = lib.overrideDerivation zathura (oldAttrs: { | ||
4 | postInstall = '' | ||
5 | warpProgram $out/bin/zathura \ | ||
6 | --set GDK_SCALE 1 | ||
7 | ''; | ||
8 | }); | ||
3 | chromium-wrapper = symlinkJoin { | 9 | chromium-wrapper = symlinkJoin { |
4 | name = ''${chromium.name}-wrapped''; | 10 | name = ''${chromium.name}-wrapped''; |
5 | paths = [ chromium ]; | 11 | paths = [ chromium ]; |
@@ -32,30 +38,35 @@ | |||
32 | 38 | ||
33 | export PATH=${psmisc}/bin:$PATH | 39 | export PATH=${psmisc}/bin:$PATH |
34 | 40 | ||
41 | trap "killall -s USR2 -u $(whoami) -- dunst" EXIT | ||
42 | |||
35 | killall -s USR1 -u "$(whoami)" -- dunst | 43 | killall -s USR1 -u "$(whoami)" -- dunst |
36 | $@ | 44 | $@ |
37 | killall -s USR2 -u "$(whoami)" -- dunst | ||
38 | ''; | 45 | ''; |
39 | gajim = lib.overrideDerivation gajim (old: { | 46 | gajim = lib.overrideDerivation gajim (old: { |
40 | enableNotifications = true; | 47 | enableNotifications = true; |
41 | extraPythonPackages = (p: [ p.pygments ]); | ||
42 | }); | 48 | }); |
43 | haskellPackages = haskellPackages.override { | 49 | haskellPackages = haskellPackages.override { |
44 | overrides = self: super: with super; { | 50 | overrides = self: super: with super; { |
45 | extended-reals = haskell.lib.doJailbreak extended-reals; | 51 | extended-reals = haskell.lib.doJailbreak extended-reals; |
46 | pandoc-crossref = haskell.lib.dontTest pandoc-crossref; | 52 | pandoc-crossref = haskell.lib.dontTest pandoc-crossref; |
53 | yesod-bin = haskell.lib.appendPatch yesod-bin ../patches/yesod-bin.patch; | ||
47 | } // (import ../custom/thermoprint { inherit pkgs; }); | 54 | } // (import ../custom/thermoprint { inherit pkgs; }); |
48 | }; | 55 | }; |
56 | firefox-unwrapped = firefox-unwrapped.override { | ||
57 | enableOfficialBranding = true; | ||
58 | }; | ||
59 | mpv = mpv.override { | ||
60 | vaapiSupport = true; | ||
61 | }; | ||
49 | } // (import ../utils/nix/default.nix) {}; | 62 | } // (import ../utils/nix/default.nix) {}; |
50 | 63 | ||
64 | pulseaudio = true; | ||
65 | |||
51 | allowUnfree = true; | 66 | allowUnfree = true; |
52 | 67 | ||
53 | chromium = { | 68 | chromium = { |
54 | enableWideVine = true; | 69 | enableWideVine = true; |
55 | hiDPI = true; | 70 | hiDPI = true; |
56 | }; | 71 | }; |
57 | |||
58 | mpv = { | ||
59 | vaapiSupport = true; | ||
60 | }; | ||
61 | } | 72 | } |