fix: ensure networking remains good
This commit is contained in:
parent
7c4e83f60a
commit
02dd11c8b4
5 changed files with 32 additions and 27 deletions
|
@ -26,12 +26,15 @@ in {
|
|||
networking.hostName = name;
|
||||
# this has to be defined for any physical servers
|
||||
# vms are defined by teh vm host
|
||||
networking.interfaces.eno1.ipv4.addresses = [
|
||||
{
|
||||
address = ip_pub;
|
||||
prefixLength = 26;
|
||||
}
|
||||
];
|
||||
networking = {
|
||||
defaultGateway.interface = lib.mkDefault "eno1";
|
||||
interfaces.eno1.ipv4.addresses = [
|
||||
{
|
||||
address = ip_pub;
|
||||
prefixLength = 26;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
deployment = {
|
||||
targetHost = hostname;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue