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 { } // 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";
} }