stockholm/tv/5pkgs/ff/default.nix

9 lines
166 B
Nix
Raw Normal View History

2015-10-24 20:55:50 +00:00
{ pkgs, ... }:
pkgs.writeScriptBin "ff" ''
#! ${pkgs.bash}/bin/bash
exec sudo -u ff -i <<EOF
exec ${pkgs.firefoxWrapper}/bin/firefox $(printf " %q" "$@")
EOF
''