tor-browser: persist settings dir
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
# N.B.: to disable scripts, do one of:
|
||||
# a. open `about:config` and set `browser.security_level.security_slider=2`
|
||||
# b. use the security slider in "configure connection"
|
||||
# unfortunately, both of these routes require the browser to be restarted (as they advise),
|
||||
# else javascript is silently left enabled.
|
||||
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
sane.programs.tor-browser = {
|
||||
@@ -20,6 +26,8 @@
|
||||
# sandbox.mesaCacheDir = ".cache/tor-browser/mesa"; # don't persist mesa dir (privacy)
|
||||
persist.byStore.ephemeral = [
|
||||
".local/share/tor-browser" # persisted because of downloads, i think??
|
||||
#v to persist $profile/prefs.js, required for js toggle. TODO: persist this more narrowly
|
||||
".tor project/firefox"
|
||||
];
|
||||
mime.urlAssociations."^https?://.+\.onion$" = "torbrowser.desktop";
|
||||
};
|
||||
|
Reference in New Issue
Block a user