tadpole: Bind stastic ip

This commit is contained in:
Alexander Heldt
2024-07-21 10:37:16 +02:00
parent f119c99464
commit fb1cbc0b8a

View File

@@ -3,4 +3,22 @@
networking = {
hostName = "tadpole";
};
systemd.network.networks."10-wan" = {
networkConfig.DHCP = "no";
address = [ "65.21.106.222/32" ];
routes = [
{
routeConfig = {
Destination = "172.31.1.1";
};
}
{
routeConfig = {
Gateway = "172.31.1.1";
GatewayOnLink = true;
};
}
];
};
}