tor-browser: sandbox with bwrap; remove useHardenedMalloc patch

This commit is contained in:
Colin 2024-01-27 15:04:22 +00:00
parent 4ee2562202
commit d69d8f64f3

View File

@ -1,11 +1,13 @@
{ pkgs, ... }:
{
sane.programs.tor-browser = {
packageUnwrapped = pkgs.tor-browser.override {
# hardenedMalloc solves an "unable to connect to Tor" error when pressing the "connect" button
# - still required as of 2023/07/14
useHardenedMalloc = false;
};
# 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";
persist.byStore.cryptClearOnBoot = [
".local/share/tor-browser"
];