summaryrefslogtreecommitdiffstats
path: root/mv/5pkgs/ff/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-11-18 00:28:24 +0100
committertv <tv@krebsco.de>2015-11-18 00:28:24 +0100
commit7d6672168767bcb22bba2cfb0054fcbc9b706b03 (patch)
tree7d91a7f764f768b9929e2a7430cf50764938274d /mv/5pkgs/ff/default.nix
parent3a34a2e0b06e4cf61bf639380e9de03e47ad99b4 (diff)
mv: s/tv/mv/
Diffstat (limited to 'mv/5pkgs/ff/default.nix')
-rw-r--r--mv/5pkgs/ff/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/mv/5pkgs/ff/default.nix b/mv/5pkgs/ff/default.nix
new file mode 100644
index 000000000..2db404030
--- /dev/null
+++ b/mv/5pkgs/ff/default.nix
@@ -0,0 +1,8 @@
+{ pkgs, ... }:
+
+pkgs.writeScriptBin "ff" ''
+ #! ${pkgs.bash}/bin/bash
+ exec sudo -u ff -i <<EOF
+ exec ${pkgs.firefoxWrapper}/bin/firefox $(printf " %q" "$@")
+ EOF
+''