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
938 B

{ pkgs, config, inputs, modulesPath, machine, ... }:
{
imports = [
./network.nix
./users.nix
./userenv.nix
./ssh.nix
./rdma.nix
./ssl.nix
./slurm.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; [
vim
wget
curl
tmux
fd
ripgrep
htop
iotop
iftop
];
nix.nixPath = [
"nixpkgs=${inputs.nixpkgs}"
];
# Performance FTW!
boot.kernelParams = [
"mitigations=off"
];
services.haveged.enable = true;
system.stateVersion = "22.11";
}