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.

24 lines
448 B

1 year ago
  1. { id, ... }:
  2. { lib, ... }:
  3. with lib;
  4. {
  5. imports = [
  6. ./disk.nix
  7. ];
  8. boot.loader.systemd-boot.enable = true;
  9. boot.loader.efi.canTouchEfiVariables = true;
  10. networking.hostName = "node-${fixedWidthNumber 2 id}";
  11. nix.settings = {
  12. substituters = [
  13. "http://cache.hpc.informatik.hs-fulda.de"
  14. ];
  15. trusted-public-keys = [
  16. "cache.hpc.informatik.hs-fulda.de:dc2abEGJAQfaZiBXhjvjPU0jx/wosQwAOQoz48/G6cA="
  17. ];
  18. };
  19. }