mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
hosts/plover: update LAN interface network config
This commit is contained in:
parent
0ae42d4251
commit
d1bb54582d
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user