anchor.diff:      User tor
       DataDirectory ${torDirectory}
       ${optionalString cfg.enableGeoIP ''
  -      GeoIPFile ${pkgs.tor.geoip}/share/tor/geoip
  -      GeoIPv6File ${pkgs.tor.geoip}/share/tor/geoip6
  +      GeoIPFile ${cfg.package.geoip}/share/tor/geoip
  +      GeoIPv6File ${cfg.package.geoip}/share/tor/geoip6
       ''}
   
       ${optint "ControlPort" cfg.controlPort}
  
positive.code:           };
        };
  
      environment.systemPackages = [ pkgs.tor ];
  
      services.privoxy = mkIf (cfg.client.enable && cfg.client.privoxy.enable) {
        enable = true;
  
negative.code:         '';
        };
  
        package = mkOption {
          type = types.package;
          default = pkgs.tor;
          defaultText = "pkgs.tor";
          example = literalExample "pkgs.tor";
          description = ''
            Tor package to use
          '';
        };
  
        enableGeoIP = mkOption {
          type = types.bool;
          default = true;
  