From cfe37640ea05ba113f0088cd2d2d93bdeb489e46 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Tue, 18 Apr 2023 18:56:31 +0200 Subject: [PATCH] Add configuration for xeon01 --- xeon01/configuration.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 xeon01/configuration.nix diff --git a/xeon01/configuration.nix b/xeon01/configuration.nix new file mode 100644 index 0000000..3bf8bba --- /dev/null +++ b/xeon01/configuration.nix @@ -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; + } ]; + }; +}