NixOS configuration for HPC cluster https://docs.hpc.informatik.hs-fulda.de/

20 lines
343 B

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. { config, ... }:
  2. {
  3. networking.domain = "hpc.informatik.hs-fulda.de";
  4. networking.search = [
  5. config.networking.domain
  6. ];
  7. networking.nameservers = [
  8. "10.0.0.53"
  9. "10.1.1.10"
  10. ];
  11. networking.useDHCP = false;
  12. networking.nftables.enable = true;
  13. networking.firewall.extraInputRules = "ip saddr 10.32.47.0/24 accept";
  14. }