summaryrefslogtreecommitdiffstats
path: root/mv/5pkgs/default.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-11-21 14:24:46 +0100
committerlassulus <lass@aidsballs.de>2015-11-21 14:24:46 +0100
commita0202683177b022e3f2b67cd5929baccb868a26e (patch)
tree5920affde50efcbd7708e1c4e2bc661d31e0e299 /mv/5pkgs/default.nix
parent718c672e7cfddc46ee584a9e1e7218278a2b3996 (diff)
parent2650803ff620e35de22ad91226f30d2b4ab9404f (diff)
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'mv/5pkgs/default.nix')
-rw-r--r--mv/5pkgs/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/mv/5pkgs/default.nix b/mv/5pkgs/default.nix
new file mode 100644
index 000000000..0c72c450e
--- /dev/null
+++ b/mv/5pkgs/default.nix
@@ -0,0 +1,23 @@
+{ pkgs, ... }:
+
+{
+ # TODO use XDG_RUNTIME_DIR?
+ 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 {};
+}