NixOS configuration for HPC cluster
https://docs.hpc.informatik.hs-fulda.de/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
824 B
51 lines
824 B
{ pkgs, config, modulesPath, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./network.nix
|
|
./users.nix
|
|
./ssh.nix
|
|
./rdma.nix
|
|
|
|
"${modulesPath}/profiles/headless.nix"
|
|
"${modulesPath}/profiles/all-hardware.nix"
|
|
];
|
|
|
|
sops = {
|
|
defaultSopsFile = ../secrets.yaml;
|
|
defaultSopsFormat = "yaml";
|
|
|
|
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
|
};
|
|
|
|
gather = {
|
|
target = part: "gathered/${config.networking.hostName}/${part}";
|
|
root = ../.;
|
|
};
|
|
|
|
time.timeZone = "Europe/Berlin";
|
|
console.keyMap = "de";
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
openmpi
|
|
vim
|
|
wget
|
|
curl
|
|
tmux
|
|
fd
|
|
ripgrep
|
|
zlib
|
|
htop
|
|
iotop
|
|
iftop
|
|
];
|
|
|
|
# Performance FTW!
|
|
boot.kernelParams = [
|
|
"mitigations=off"
|
|
];
|
|
|
|
services.haveged.enable = true;
|
|
|
|
system.stateVersion = "22.11";
|
|
}
|