diff options
Diffstat (limited to 'modules/server/tor/default.nix')
-rw-r--r-- | modules/server/tor/default.nix | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/modules/server/tor/default.nix b/modules/server/tor/default.nix deleted file mode 100644 index 3e93309835b6..000000000000 --- a/modules/server/tor/default.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ lib, config, ... }: - -{ - networking.firewall.allowedTCPPorts = [ 143 ]; - - services.tor.enable = true; - - services.tor.settings.AccountingMax = - lib.mkDefault (throw "Set tor accountingMax!!"); - - services.tor.settings.AccountingStart = - lib.mkDefault (throw "Set tor accountingStart!!"); - - services.tor.relay.enable = true; - services.tor.relay.role = "relay"; - services.tor.settings.ContactInfo = "hi@alyssa.is"; - services.tor.settings.Nickname = lib.mkDefault config.networking.hostName; - services.tor.settings.ORPort = [ 143 ]; -} |