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

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. { pkgs, config, modulesPath, ... }:
  2. {
  3. imports = [
  4. ./network.nix
  5. ./users.nix
  6. ./ssh.nix
  7. ./rdma.nix
  8. "${modulesPath}/profiles/headless.nix"
  9. "${modulesPath}/profiles/all-hardware.nix"
  10. ];
  11. sops = {
  12. defaultSopsFile = ../secrets.yaml;
  13. defaultSopsFormat = "yaml";
  14. age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
  15. };
  16. gather = {
  17. target = part: "gathered/${config.networking.hostName}/${part}";
  18. root = ../.;
  19. };
  20. time.timeZone = "Europe/Berlin";
  21. console.keyMap = "de";
  22. environment.systemPackages = with pkgs; [
  23. openmpi
  24. vim
  25. wget
  26. curl
  27. tmux
  28. fd
  29. ripgrep
  30. zlib
  31. htop
  32. iotop
  33. iftop
  34. ];
  35. # Performance FTW!
  36. boot.kernelParams = [
  37. "mitigations=off"
  38. ];
  39. services.haveged.enable = true;
  40. system.stateVersion = "22.11";
  41. }