2023-07-21 10:34:19 +02:00
|
|
|
{ config, pkgs, lib, modulesPath, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
2024-06-03 09:20:11 +02:00
|
|
|
../common/xeon.nix
|
2023-07-21 10:34:19 +02:00
|
|
|
#(modulesPath + "/installer/netboot/netboot-minimal.nix")
|
|
|
|
|
|
|
|
../eudy/cpufreq.nix
|
|
|
|
../eudy/users.nix
|
|
|
|
./users.nix
|
|
|
|
./kernel.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
# Select this using the ID to avoid mismatches
|
|
|
|
boot.loader.grub.device = "/dev/disk/by-id/wwn-0x55cd2e414d5376d2";
|
|
|
|
|
|
|
|
# disable automatic garbage collector
|
|
|
|
nix.gc.automatic = lib.mkForce false;
|
|
|
|
|
|
|
|
# members of the tracing group can use the lttng-provided kernel events
|
|
|
|
# without root permissions
|
2023-07-21 10:34:37 +02:00
|
|
|
users.groups.tracing.members = [ "arocanon" "vlopez" ];
|
2023-07-21 10:34:19 +02:00
|
|
|
|
|
|
|
# set up both ethernet and infiniband ips
|
|
|
|
networking = {
|
|
|
|
hostName = "koro";
|
|
|
|
interfaces.eno1.ipv4.addresses = [ {
|
|
|
|
address = "10.0.40.5";
|
|
|
|
prefixLength = 24;
|
|
|
|
} ];
|
|
|
|
interfaces.ibp5s0.ipv4.addresses = [ {
|
|
|
|
address = "10.0.42.5";
|
|
|
|
prefixLength = 24;
|
|
|
|
} ];
|
|
|
|
};
|
|
|
|
}
|