2023-05-05 20:18:01 +02:00
|
|
|
{ config, pkgs, lib, modulesPath, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
2024-06-03 09:20:11 +02:00
|
|
|
../common/xeon.nix
|
2023-05-05 20:18:01 +02:00
|
|
|
#(modulesPath + "/installer/netboot/netboot-minimal.nix")
|
|
|
|
|
|
|
|
./kernel/kernel.nix
|
2023-05-11 17:25:48 +02:00
|
|
|
./cpufreq.nix
|
2023-05-05 20:18:01 +02:00
|
|
|
./fs.nix
|
|
|
|
./users.nix
|
2023-12-01 19:57:04 +01:00
|
|
|
../module/debuginfod.nix
|
2023-05-05 20:18:01 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
# Select this using the ID to avoid mismatches
|
|
|
|
boot.loader.grub.device = "/dev/disk/by-id/wwn-0x55cd2e414d53564b";
|
|
|
|
|
|
|
|
# disable automatic garbage collector
|
|
|
|
nix.gc.automatic = lib.mkForce false;
|
|
|
|
|
2023-06-09 08:04:30 +02:00
|
|
|
# members of the tracing group can use the lttng-provided kernel events
|
|
|
|
# without root permissions
|
|
|
|
users.groups.tracing.members = [ "arocanon" ];
|
|
|
|
|
2023-05-05 20:18:01 +02:00
|
|
|
# set up both ethernet and infiniband ips
|
|
|
|
networking = {
|
2023-06-16 17:16:05 +02:00
|
|
|
hostName = "eudy";
|
2023-05-05 20:18:01 +02:00
|
|
|
interfaces.eno1.ipv4.addresses = [ {
|
|
|
|
address = "10.0.40.8";
|
|
|
|
prefixLength = 24;
|
|
|
|
} ];
|
|
|
|
interfaces.ibp5s0.ipv4.addresses = [ {
|
|
|
|
address = "10.0.42.8";
|
|
|
|
prefixLength = 24;
|
|
|
|
} ];
|
|
|
|
};
|
|
|
|
}
|