ops/nixos: switch blades to static IPs
This commit is contained in:
parent
7558697bba
commit
37be1e38f8
2 changed files with 5 additions and 1 deletions
|
@ -20,6 +20,9 @@ in {
|
||||||
"enp4s0f0" "enp4s0f1"
|
"enp4s0f0" "enp4s0f1"
|
||||||
"enp5s0f0" "enp5s0f1"
|
"enp5s0f0" "enp5s0f1"
|
||||||
];
|
];
|
||||||
|
interfaces.bond0.ipv4.addresses = [{
|
||||||
|
address = "192.168.1.180";
|
||||||
|
}];
|
||||||
};
|
};
|
||||||
my.ip.tailscale = "100.121.116.85";
|
my.ip.tailscale = "100.121.116.85";
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,7 +35,6 @@ in {
|
||||||
domain = "house.as205479.net";
|
domain = "house.as205479.net";
|
||||||
nameservers = ["8.8.8.8" "8.8.4.4"];
|
nameservers = ["8.8.8.8" "8.8.4.4"];
|
||||||
useDHCP = false;
|
useDHCP = false;
|
||||||
interfaces.bond0.useDHCP = true;
|
|
||||||
bonds.bond0 = {
|
bonds.bond0 = {
|
||||||
driverOptions = {
|
driverOptions = {
|
||||||
mode = "802.3ad";
|
mode = "802.3ad";
|
||||||
|
@ -43,6 +42,8 @@ in {
|
||||||
lacp_rate = "fast";
|
lacp_rate = "fast";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
defaultGateway = "192.168.1.5";
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.podman.enable = true;
|
virtualisation.podman.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue