config/lxc-container: use dnscache addrs from hostRegistry

This commit is contained in:
Astro 2022-01-20 03:04:04 +01:00
parent 06f9033bdb
commit e270b121ce
1 changed files with 5 additions and 2 deletions

View File

@ -18,8 +18,11 @@
networking.useNetworkd = true;
networking.useDHCP = false;
services.resolved.enable = false;
networking.nameservers =
[ "172.20.73.8" "fd23:42:c3d2:582:f096:dbff:fee8:427d" "9.9.9.9" ];
networking.nameservers = [
hostRegistry.hosts.dnscache.ip4
hostRegistry.hosts.dnscache.ip6
"9.9.9.9"
];
networking.interfaces.eth0 = {
useDHCP = false;