Add bay node

This commit is contained in:
2023-07-28 19:49:48 +02:00
parent a7e09e55df
commit 0ce574800e
2 changed files with 27 additions and 0 deletions

26
m/bay/configuration.nix Normal file
View File

@@ -0,0 +1,26 @@
{ config, pkgs, modulesPath, ... }:
{
imports = [
(modulesPath + "/installer/netboot/netboot-minimal.nix")
../common/main.nix
];
services.openssh.settings.X11Forwarding = false;
nixpkgs.config.allowBroken = true;
# Select the this using the ID to avoid mismatches
boot.loader.grub.device = "/dev/disk/by-id/wwn-0x55cd2e414d53562d";
networking = {
hostName = "bay";
interfaces.eno1.ipv4.addresses = [ {
address = "10.0.40.40";
prefixLength = 24;
} ];
interfaces.ibp5s0.ipv4.addresses = [ {
address = "10.0.42.40";
prefixLength = 24;
} ];
};
}