jungle/xeon02/configuration.nix

26 lines
623 B
Nix
Raw Normal View History

{ config, pkgs, modulesPath, lib, ... }:
2023-04-27 16:28:12 +02:00
{
2023-04-27 16:36:48 +02:00
imports = [
#(modulesPath + "/installer/netboot/netboot-minimal.nix")
../common/main.nix
];
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";
#programs.ssh.forwardX11 = false;
2023-04-27 16:36:48 +02:00
#programs.ssh.setXAuthLocation = lib.mkForce true;
2023-04-27 16:28:12 +02:00
networking = {
hostName = "xeon02";
interfaces.eno1.ipv4.addresses = [ {
address = "10.0.40.2";
prefixLength = 24;
} ];
interfaces.ibp129s0.ipv4.addresses = [ {
2023-04-27 16:28:12 +02:00
address = "10.0.42.2";
prefixLength = 24;
} ];
};
}