Skip to content

Commit bb5b084

Browse files
committedSep 13, 2017
tor: skip ControlPort in torrc, if not set.
1 parent 987a2be commit bb5b084

File tree

1 file changed

+1
-1
lines changed
  • nixos/modules/services/security

1 file changed

+1
-1
lines changed
 

‎nixos/modules/services/security/tor.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ let
1717
GeoIPv6File ${pkgs.tor.geoip}/share/tor/geoip6
1818
''}
1919
20-
${optint "ControlPort" (toString cfg.controlPort)}
20+
${optint "ControlPort" cfg.controlPort}
2121
''
2222
# Client connection config
2323
+ optionalString cfg.client.enable ''

0 commit comments

Comments
 (0)
Please sign in to comment.