Add configuration for xeon01

This commit is contained in:
Rodrigo Arias 2023-04-18 18:56:31 +02:00 committed by Rodrigo Arias Mallo
parent 096e407571
commit cfe37640ea

22
xeon01/configuration.nix Normal file
View File

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