Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
Permalink
Browse files

roles/tor-relay: listen for relay connections on v6

  • Loading branch information
delroth committed Feb 2, 2020
1 parent 77a6a77 commit bd8e831c020e2ea5ed361e65615ae309474ba1d5
Showing with 3 additions and 1 deletion.
  1. +3 −1 roles/tor-relay.nix
@@ -36,7 +36,9 @@ in {
# Allow the use of multiple cores (default: 1). We run at higher
# niceness anyway.
NumCPUs 0
'';
'' + (lib.optionalString (config.my.networking.external6 != null) ''
ORPort [${config.my.networking.external6}]:${builtins.toString config.services.tor.relay.port}
'');
};

systemd.services.tor.serviceConfig.Nice = 5;

0 comments on commit bd8e831

Please sign in to comment.
You can’t perform that action at this time.