fix: ensure networking remains good pat2

This commit is contained in:
silver 2023-12-22 18:19:27 +00:00
parent 02dd11c8b4
commit 440ad7d209
3 changed files with 3 additions and 3 deletions

View file

@ -59,7 +59,7 @@ in {
# this has to be defined for any physical servers # this has to be defined for any physical servers
# vms are defined by teh vm host # vms are defined by teh vm host
networking = { networking = {
defaultGateway.interface = lib.mkDefault "eno1"; defaultGateway.interface = lib.mkForce "eno1";
interfaces.eno1.ipv4.addresses = [ interfaces.eno1.ipv4.addresses = [
{ {
address = ip_pub; address = ip_pub;

View file

@ -27,7 +27,7 @@ in {
# this has to be defined for any physical servers # this has to be defined for any physical servers
# vms are defined by teh vm host # vms are defined by teh vm host
networking = { networking = {
defaultGateway.interface = lib.mkDefault "eno1"; defaultGateway.interface = lib.mkForce "eno1";
interfaces.eno1.ipv4.addresses = [ interfaces.eno1.ipv4.addresses = [
{ {
address = ip_pub; address = ip_pub;

View file

@ -36,7 +36,7 @@ in {
networking = { networking = {
# needs to have an address statically assigned # needs to have an address statically assigned
defaultGateway.interface = lib.mkDefault "eno1"; defaultGateway.interface = lib.mkForce "eno1";
interfaces.eno1.ipv4.addresses = [ interfaces.eno1.ipv4.addresses = [
{ {
address = "193.1.99.120"; address = "193.1.99.120";