git.iko.soy/typeable/nixpkgs
on master help sign in
tor-browser-bundle: customization via extraPrefs
commitfe3b95e749ac851b1d0890f6fc6d8ae5d9004dd8 authorJoachim Fasting <joachifm@fastmail.fm> dateTue 26 Sep 2017, 20:26 (9 years ago) parent3ee733a
1 file changed+6
pkgs/applications/networking/browsers/tor-browser-bundle/default.nix+6
pkgs/applications/networking/browsers/tor-browser-bundle/default.nix+6
@@ -15,6 +15,9 @@
1515, python27
1616, python27Packages
1717, rsync
18+
19+# Customization
20+, extraPrefs ? ""
1821}:
1922
2023let
@@ -154,6 +157,9 @@ stdenv.mkDerivation rec {
154157 // Defaults to $XDG_RUNTIME_DIR/Tor/{socks,control}.socket
155158 lockPref("extensions.torlauncher.control_port_use_ipc", true);
156159 lockPref("extensions.torlauncher.socks_port_use_ipc", true);
160+
161+ // User customization
162+ ${extraPrefs}
157163 EOF
158164
159165 # Preload extensions