feat(kuwubernetes): local ip

This commit is contained in:
arcnmx 2024-01-23 14:03:34 -08:00
parent 3f2b0ab1dc
commit b4cf38ec0e

View file

@ -75,13 +75,15 @@ in {
}; };
}; };
systemd.network.networks.eth0 = { systemd.network.networks.ens18 = {
name = "eth0"; name = "ens18";
matchConfig = { matchConfig = {
MACAddress = "BC:24:11:49:FE:DC"; MACAddress = "BC:24:11:49:FE:DC";
Type = "ether"; Type = "ether";
}; };
DHCP = "ipv4"; address = [ "10.1.1.42/24" ];
gateway = [ "10.1.1.1" ];
DHCP = "no";
}; };
sops.defaultSopsFile = ./secrets.yaml; sops.defaultSopsFile = ./secrets.yaml;