jungle/m/owl2/configuration.nix

26 lines
576 B
Nix
Raw Permalink Normal View History

2023-09-04 21:59:56 +02:00
{ config, pkgs, ... }:
2023-04-27 16:28:12 +02:00
{
2023-04-27 16:36:48 +02:00
imports = [
../common/main.nix
2023-09-04 22:00:36 +02:00
../module/ceph.nix
../module/slurm-firewall.nix
2023-04-27 16:36:48 +02:00
];
2023-04-27 16:28:12 +02:00
# Select the this using the ID to avoid mismatches
boot.loader.grub.device = "/dev/disk/by-id/wwn-0x55cd2e414d535629";
networking = {
2023-06-16 11:42:39 +02:00
hostName = "owl2";
2023-04-27 16:28:12 +02:00
interfaces.eno1.ipv4.addresses = [ {
address = "10.0.40.2";
prefixLength = 24;
} ];
2023-09-04 22:00:17 +02:00
# Watch out! The OmniPath device is not in the same place here:
interfaces.ibp129s0.ipv4.addresses = [ {
2023-04-27 16:28:12 +02:00
address = "10.0.42.2";
prefixLength = 24;
} ];
};
}