mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-24 12:19:12 +00:00
hosts/plover: improve network metadata
This commit is contained in:
parent
1bdda28ffe
commit
271750f755
@ -31,6 +31,7 @@ rec {
|
|||||||
# This is the public-facing interface. Any interface name with a prime
|
# This is the public-facing interface. Any interface name with a prime
|
||||||
# symbol means it's a public-facing interface.
|
# symbol means it's a public-facing interface.
|
||||||
main' = {
|
main' = {
|
||||||
|
ifname = "ens3";
|
||||||
# The gateways for the public addresses are retrieved from the following
|
# The gateways for the public addresses are retrieved from the following
|
||||||
# pages:
|
# pages:
|
||||||
#
|
#
|
||||||
@ -47,6 +48,7 @@ rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
internal = {
|
internal = {
|
||||||
|
ifname = "ens10";
|
||||||
IPv4 = {
|
IPv4 = {
|
||||||
address = "172.27.0.1";
|
address = "172.27.0.1";
|
||||||
gateway = ploverInternalNetworkGateway;
|
gateway = ploverInternalNetworkGateway;
|
||||||
@ -58,6 +60,7 @@ rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
wireguard0 = {
|
wireguard0 = {
|
||||||
|
ifname = "wireguard0";
|
||||||
IPv4 = {
|
IPv4 = {
|
||||||
address = "172.28.0.1";
|
address = "172.28.0.1";
|
||||||
gateway = ploverInternalNetworkGateway;
|
gateway = ploverInternalNetworkGateway;
|
||||||
|
Loading…
Reference in New Issue
Block a user