stockholm/tv/5pkgs/ff/default.nix
2015-10-24 22:58:00 +02:00

9 lines
166 B
Nix

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