jungle/xeon02/configuration.nix

23 lines
609 B
Nix
Raw Normal View History

{ config, pkgs, modulesPath, lib, ... }:
2023-04-27 16:28:12 +02:00
{
imports = [ ../common/main.nix (modulesPath + "/installer/netboot/netboot-minimal.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;
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.ibp5s0.ipv4.addresses = [ {
address = "10.0.42.2";
prefixLength = 24;
} ];
};
}