diff options
Diffstat (limited to 'modules/tools/tor/default.nix')
| -rw-r--r-- | modules/tools/tor/default.nix | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/modules/tools/tor/default.nix b/modules/tools/tor/default.nix deleted file mode 100644 index a2af4aa..0000000 --- a/modules/tools/tor/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ - pkgs, - lib, - config, - ... -}: - -# Tor - Local proxy server for connecting to the tor network -{ - options.tools.tor = { - enable = lib.mkEnableOption "Enables tor."; - }; - - config = lib.mkIf config.tools.tor.enable { - home.packages = with pkgs; [ - tor - ]; - - home.file.".config/tor/torrc".text = '' - SocksPort 127.0.0.1:9050 - CookieAuthentication 1 - # Prevents Tor from writing to disk too much - AvoidDiskWrites 1 - ''; - }; -} |
