2023-10-16 19:18:34 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
2024-01-22 08:13:37 +00:00
|
|
|
sane.programs.tor-browser = {
|
2024-01-27 15:04:22 +00:00
|
|
|
# packageUnwrapped = pkgs.tor-browser.override {
|
|
|
|
# # hardenedMalloc solves an "unable to connect to Tor" error when pressing the "connect" button
|
|
|
|
# # - required as recently as 2023/07/14
|
|
|
|
# # - no longer required as of 2024/01/27
|
|
|
|
# useHardenedMalloc = false;
|
|
|
|
# };
|
|
|
|
sandbox.method = "bwrap";
|
2024-02-28 17:35:40 +00:00
|
|
|
sandbox.wrapperType = "inplace"; # trivial package, so cheaper to wrap in-place
|
2024-02-08 21:51:32 +00:00
|
|
|
sandbox.net = "clearnet"; # tor over VPN wouldn't make sense
|
2024-02-13 11:14:38 +00:00
|
|
|
sandbox.whitelistAudio = true;
|
2024-02-14 01:49:49 +00:00
|
|
|
sandbox.whitelistWayland = true;
|
2023-11-08 15:32:50 +00:00
|
|
|
persist.byStore.cryptClearOnBoot = [
|
2023-10-16 19:18:34 +00:00
|
|
|
".local/share/tor-browser"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|