summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs/ff/default.nix
blob: 2db404030f360cbd60d8234233a62abe25128c65 (plain)
1
2
3
4
5
6
7
8
{ pkgs, ... }:

pkgs.writeScriptBin "ff" ''
 #! ${pkgs.bash}/bin/bash
 exec sudo -u ff -i <<EOF
 exec ${pkgs.firefoxWrapper}/bin/firefox $(printf " %q" "$@")
 EOF
''