2023-08-24 12:30:46 +02:00
|
|
|
{ config, pkgs, lib, modulesPath, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../common/main.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
# For now we install NixOS in the first nvme disk (nvme0n1), as this node only
|
|
|
|
# has one SSD already used for SUSE.
|
2023-08-24 13:54:22 +02:00
|
|
|
boot.loader.grub.device = "/dev/disk/by-id/nvme-INTEL_SSDPE2MD020T4_CVFT5281004L2P0KGN";
|
2023-08-24 12:30:46 +02:00
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
ceph
|
|
|
|
];
|
|
|
|
|
|
|
|
services.slurm = {
|
|
|
|
client.enable = lib.mkForce false;
|
|
|
|
};
|
|
|
|
|
|
|
|
networking = {
|
|
|
|
hostName = "lake2";
|
|
|
|
interfaces.eno1.ipv4.addresses = [ {
|
|
|
|
address = "10.0.40.42";
|
|
|
|
prefixLength = 24;
|
|
|
|
} ];
|
|
|
|
interfaces.ibp5s0.ipv4.addresses = [ {
|
|
|
|
address = "10.0.42.42";
|
|
|
|
prefixLength = 24;
|
|
|
|
} ];
|
|
|
|
};
|
|
|
|
}
|