summaryrefslogtreecommitdiffstats
path: root/mv/5pkgs/ff/default.nix
diff options
context:
space:
mode:
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
+''