Skip to content

Commit

Permalink
tor: skip ControlPort in torrc, if not set.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Sep 13, 2017
1 parent 7d7e967 commit 8920150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/security/tor.nix
Expand Up @@ -17,7 +17,7 @@ let
GeoIPv6File ${pkgs.tor.geoip}/share/tor/geoip6
''}
${optint "ControlPort" (toString cfg.controlPort)}
${optint "ControlPort" cfg.controlPort}
''
# Client connection config
+ optionalString cfg.client.enable ''
Expand Down

0 comments on commit 8920150

Please sign in to comment.