Add bay node

This commit is contained in:
Rodrigo Arias 2023-07-28 19:49:48 +02:00
parent 480c97e952
commit a7e66e2246
2 changed files with 27 additions and 0 deletions

View File

@ -21,6 +21,7 @@ in
owl2 = mkConf "owl2";
eudy = mkConf "eudy";
koro = mkConf "koro";
bay = mkConf "bay";
};
packages.x86_64-linux.hut = self.nixosConfigurations.hut.pkgs;

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;
} ];
};
}