jungle/xeon01/configuration.nix

24 lines
468 B
Nix
Raw Normal View History

2023-04-18 18:56:31 +02:00
{ config, pkgs, ... }:
{
imports = [
../common/main.nix
2023-04-26 13:35:06 +02:00
./slurm.nix
2023-04-18 18:56:31 +02:00
];
# 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;
} ];
};
}