1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

Merge pull request #108524 from ju1m/tor

nixos/tor: fix client.dns.automapHostsSuffixes renaming
This commit is contained in:
Jörg Thalheim 2021-01-06 06:52:06 +00:00 committed by GitHub
commit 4dc8d7c9c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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