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.
 
 
 

56 lines
905 B

{ pkgs, config, modulesPath, machine, ... }:
{
imports = [
./network.nix
./users.nix
./ssh.nix
./rdma.nix
./ssl.nix
"${modulesPath}/profiles/headless.nix"
"${modulesPath}/profiles/all-hardware.nix"
];
sops = {
defaultSopsFile = /${machine.path}/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
git
stdenv
gnumake
autoconf
];
# Performance FTW!
boot.kernelParams = [
"mitigations=off"
];
services.haveged.enable = true;
system.stateVersion = "22.11";
}