jungle/m/owl1/configuration.nix

25 lines
506 B
Nix
Raw Permalink Normal View History

2023-04-18 18:56:31 +02:00
{ config, pkgs, ... }:
{
2023-09-04 22:00:36 +02:00
imports = [
../common/main.nix
../module/ceph.nix
../module/slurm-firewall.nix
2023-09-04 22:00:36 +02:00
];
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 = {
2023-06-16 11:42:39 +02:00
hostName = "owl1";
2023-04-18 18:56:31 +02:00
interfaces.eno1.ipv4.addresses = [ {
address = "10.0.40.1";
prefixLength = 24;
} ];
interfaces.ibp5s0.ipv4.addresses = [ {
address = "10.0.42.1";
prefixLength = 24;
} ];
};
}