diff options
| author | adikro <adikro@disroot.org> | 2026-04-12 23:47:47 +0200 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-04-12 23:47:47 +0200 |
| commit | bf126b5e1ae5cbab3b62c00bbff614a23539e431 (patch) | |
| tree | b275c56596eaf3f5754cea30f04e84bbcc21e305 /os/srv/tor.nix | |
| parent | 3ed184c48a1154a2548df807c8aaae7888e4792c (diff) | |
finalized client configs for tor, i2pd and yggdrasil
Diffstat (limited to 'os/srv/tor.nix')
| -rw-r--r-- | os/srv/tor.nix | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/os/srv/tor.nix b/os/srv/tor.nix index 08c8152..55c779d 100644 --- a/os/srv/tor.nix +++ b/os/srv/tor.nix @@ -17,12 +17,19 @@ in (lib.mkIf cfg.enable { services.tor = { enable = true; + client = { + enable = true; + dns.enable = true; + transparentProxy.enable = true; + }; + settings = { + Sandbox = true; + DisableAllSwap = true; + }; }; }) (lib.mkIf cfg.enableBrowser { - environment.systemPackages = with pkgs; [ - tor-browser - ]; + environment.systemPackages = [ pkgs.tor-browser ]; }) ]; } |
