hosts/plover: update LAN interface network config

This commit is contained in:
Gabriel Arazas 2023-02-14 11:00:26 +08:00
parent 0ae42d4251
commit d1bb54582d
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -88,21 +88,19 @@ in
matchConfig.Name = lib.concatStringsSep " " internalEthernetInterfaceNames;
address = [
"${IPv4.address}/32"
"${IPv6.address}/128"
"${IPv4.address}/16"
"${IPv6.address}/64"
];
# Using the authoritative DNS server to enable accessing them nice
# internal services with domain names.
dns = [ "127.0.0.1" "::1" ];
domains = [ config.networking.fqdn ];
gateway = [
IPv4.gateway
IPv6.gateway
];
# Using the authoritative DNS server to enable accessing them nice
# internal services with domain names.
networkConfig.DNS = [
"127.0.0.1"
"::1"
];
};
};
};