forked from mirrors/nixpkgs
nixos/tor: fix client.dns.automapHostsSuffixes renaming
This commit is contained in:
parent
0ccdd6f2b0
commit
74f9321966
|
@ -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";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue