From 3e232a2bc7f5c8ea33804be1ea071a91c5f98055 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Fri, 24 Apr 2026 01:48:30 +0530 Subject: replacing tools with programs to be more consistent with config options --- modules/tools/tor/default.nix | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 modules/tools/tor/default.nix (limited to 'modules/tools/tor/default.nix') 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 - ''; - }; -} -- cgit v1.2.3