summaryrefslogtreecommitdiffstats
path: root/mv/5pkgs/default.nix
blob: 882ac0413576d02540bc5e3782091b9a7d5086f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ pkgs, ... }:

{
  nixpkgs.config.packageOverrides = rec {
    cr = pkgs.writeScriptBin "cr" ''
      #! /bin/sh
      set -efu
      export LC_TIME=de_DE.utf8
      exec ${pkgs.chromium}/bin/chromium \
          --ssl-version-min=tls1 \
          --disk-cache-dir=/tmp/chromium-disk-cache_"$LOGNAME" \
          --disk-cache-size=50000000 \
          "%@"
    '';
    ff = pkgs.writeScriptBin "ff" ''
      #! /bin/sh
      set -efu
      exec ${pkgs.firefoxWrapper}/bin/firefox $(printf " %q" "$@")
    '';
    xmonad-tv =
      let src = pkgs.writeNixFromCabal "xmonad-tv.nix" ./xmonad-tv; in
      pkgs.haskellPackages.callPackage src {};
  };
}