nix-files/hosts/common/programs/tor-browser.nix
Colin 82c386a6a4 programs: tor-browser-bundle-bin -> tor-browser
they're the same (aliased), only my programs API expects 'tor-browser' specifically
2024-02-13 11:58:33 +00:00

19 lines
600 B
Nix

{ pkgs, ... }:
{
sane.programs.tor-browser = {
# 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";
sandbox.wrapperType = "inplace";
sandbox.net = "clearnet"; # tor over VPN wouldn't make sense
sandbox.whitelistAudio = true;
persist.byStore.cryptClearOnBoot = [
".local/share/tor-browser"
];
};
}