summaryrefslogtreecommitdiffstats
path: root/1systems
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-07-26 14:03:39 +0200
committertv <tv@shackspace.de>2015-07-26 14:03:39 +0200
commitf811bc0144b7268031a960d85e0dfee35d5e8fed (patch)
tree9a71327cbecada7df98cafaca687e935e5edb0f2 /1systems
parent3197897292f0fc8f38d30ad6ddc9742be4a7cc1d (diff)
1 tv wu: systemPackages += ff
Diffstat (limited to '1systems')
-rw-r--r--1systems/tv/wu.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/1systems/tv/wu.nix b/1systems/tv/wu.nix
index 37264635..f542581b 100644
--- a/1systems/tv/wu.nix
+++ b/1systems/tv/wu.nix
@@ -29,6 +29,12 @@ in
Zpkgs.genid
Zpkgs.hashPassword
Zpkgs.lentil
+ (pkgs.writeScriptBin "ff" ''
+ #! ${pkgs.bash}/bin/bash
+ exec sudo -u ff -i <<EOF
+ exec ${pkgs.firefoxWrapper}/bin/firefox $(printf " %q" "$@")
+ EOF
+ '')
# root
cryptsetup
@@ -363,7 +369,6 @@ in
};
};
- nixpkgs.config.firefox.enableAdobeFlash = true;
nixpkgs.config.chromium.enablePepperFlash = true;
nixpkgs.config.allowUnfree = true;