summaryrefslogtreecommitdiffstats
path: root/1systems/tv
diff options
context:
space:
mode:
Diffstat (limited to '1systems/tv')
-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 37264635b..f542581ba 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;