Switch compute nodes to static IPs to bring up their network faster after a power failure.
This commit is contained in:
@@ -6,6 +6,16 @@
|
|||||||
./hardware.nix
|
./hardware.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "c1";
|
networking = {
|
||||||
|
useDHCP = pkgs.lib.mkForce false;
|
||||||
|
hostName = "c1";
|
||||||
|
domain = "home.paler.net";
|
||||||
|
interfaces.eno1.ipv4.addresses = [{
|
||||||
|
address = "192.168.1.71";
|
||||||
|
prefixLength = 24;
|
||||||
|
}];
|
||||||
|
defaultGateway = "192.168.1.1";
|
||||||
|
nameservers = [ "192.168.1.1" ];
|
||||||
|
};
|
||||||
services.tailscaleAutoconnect.authkey = "tskey-auth-kmFvBT3CNTRL-wUbELKSd5yhuuTwTcgJZxhPUTxKgcYKF";
|
services.tailscaleAutoconnect.authkey = "tskey-auth-kmFvBT3CNTRL-wUbELKSd5yhuuTwTcgJZxhPUTxKgcYKF";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,16 @@
|
|||||||
./hardware.nix
|
./hardware.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "c2";
|
networking = {
|
||||||
|
useDHCP = pkgs.lib.mkForce false;
|
||||||
|
hostName = "c2";
|
||||||
|
domain = "home.paler.net";
|
||||||
|
interfaces.eno1.ipv4.addresses = [{
|
||||||
|
address = "192.168.1.72";
|
||||||
|
prefixLength = 24;
|
||||||
|
}];
|
||||||
|
defaultGateway = "192.168.1.1";
|
||||||
|
nameservers = [ "192.168.1.1" ];
|
||||||
|
};
|
||||||
services.tailscaleAutoconnect.authkey = "tskey-auth-kbYnZK2CNTRL-SpUVCuzS6P3ApJiDaB6RM3M4b8M9TXgS";
|
services.tailscaleAutoconnect.authkey = "tskey-auth-kbYnZK2CNTRL-SpUVCuzS6P3ApJiDaB6RM3M4b8M9TXgS";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,16 @@
|
|||||||
./hardware.nix
|
./hardware.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "c3";
|
networking = {
|
||||||
|
useDHCP = pkgs.lib.mkForce false;
|
||||||
|
hostName = "c3";
|
||||||
|
domain = "home.paler.net";
|
||||||
|
interfaces.eno1.ipv4.addresses = [{
|
||||||
|
address = "192.168.1.73";
|
||||||
|
prefixLength = 24;
|
||||||
|
}];
|
||||||
|
defaultGateway = "192.168.1.1";
|
||||||
|
nameservers = [ "192.168.1.1" ];
|
||||||
|
};
|
||||||
services.tailscaleAutoconnect.authkey = "tskey-auth-kDNknU5CNTRL-iEGHyo8GDZBCVLaMutJjZBHH7wCuCDyFb";
|
services.tailscaleAutoconnect.authkey = "tskey-auth-kDNknU5CNTRL-iEGHyo8GDZBCVLaMutJjZBHH7wCuCDyFb";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user