3
0
Fork 0
forked from mirrors/nixpkgs

nixos/tor: fix client.dns.automapHostsSuffixes renaming

This commit is contained in:
Julien Moutinho 2021-01-05 22:34:01 +01:00
parent 0ccdd6f2b0
commit 74f9321966

View file

@ -901,7 +901,6 @@ in
} // optionalAttrs cfg.client.dns.enable { } // optionalAttrs cfg.client.dns.enable {
DNSPort = [{ addr = "127.0.0.1"; port = 9053; }]; DNSPort = [{ addr = "127.0.0.1"; port = 9053; }];
AutomapHostsOnResolve = true; AutomapHostsOnResolve = true;
AutomapHostsSuffixes = cfg.client.dns.automapHostsSuffixes;
} // optionalAttrs (flatten (mapAttrsToList (n: o: o.clientAuthorizations) cfg.client.onionServices) != []) { } // optionalAttrs (flatten (mapAttrsToList (n: o: o.clientAuthorizations) cfg.client.onionServices) != []) {
ClientOnionAuthDir = runDir + "/ClientOnionAuthDir"; ClientOnionAuthDir = runDir + "/ClientOnionAuthDir";
} }