mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +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;
|
matchConfig.Name = lib.concatStringsSep " " internalEthernetInterfaceNames;
|
||||||
|
|
||||||
address = [
|
address = [
|
||||||
"${IPv4.address}/32"
|
"${IPv4.address}/16"
|
||||||
"${IPv6.address}/128"
|
"${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 = [
|
gateway = [
|
||||||
IPv4.gateway
|
IPv4.gateway
|
||||||
IPv6.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