Add xeon02 configuration

This commit is contained in:
2023-04-27 16:28:12 +02:00
parent 5dbbb27c43
commit a211e9ebee
2 changed files with 42 additions and 0 deletions

20
xeon02/configuration.nix Normal file
View File

@@ -0,0 +1,20 @@
{ config, pkgs, ... }:
{
imports = [ ../common/main.nix ];
# Select the this using the ID to avoid mismatches
boot.loader.grub.device = "/dev/disk/by-id/wwn-0x55cd2e414d535629";
networking = {
hostName = "xeon02";
interfaces.eno1.ipv4.addresses = [ {
address = "10.0.40.2";
prefixLength = 24;
} ];
interfaces.ibp5s0.ipv4.addresses = [ {
address = "10.0.42.2";
prefixLength = 24;
} ];
};
}