fix: smol changes to get this working

This commit is contained in:
silver 2023-01-25 13:14:11 +00:00
parent 3d7f99946a
commit ba2a8cd472

View file

@ -39,30 +39,40 @@ in {
cname = []; cname = [];
}; };
# keep the wired usb connection alive (front panel)
networking.interfaces.enp0s29u1u5u2.useDHCP = true;
networking.hostName = name; networking.hostName = name;
# 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.interfaces = { networking.interfaces = {
eno1 = { # eno1 = {
ipv4.routes = [ # ipv4.addresses = [
# {
# address = "193.1.99.72";
# prefixLength = 26;
# }
# ];
# ipv4.routes = [
# { # {
# address = "193.1.99.72"; # address = "193.1.99.72";
# prefixLength = 26; # prefixLength = 26;
# via = "193.1.99.65"; # via = "193.1.99.65";
# } # }
]; # ];
}; # };
eno2 = { eno2 = {
useDHCP = false; #useDHCP = false;
ipv4.addresses = [ ipv4.addresses = [
{ {
address = "193.1.99.72"; address = "193.1.99.72";
prefixLength = 26; prefixLength = 26;
} }
#{ {
# address = "172.20.20.1"; address = "172.20.20.1";
# prefixLength = 24; prefixLength = 24;
#} }
]; ];
}; };
}; };