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.

15 lines
306 B

1 year ago
1 year ago
1 year ago
1 year ago
  1. {
  2. networking.interfaces."enp11s0f0" = {
  3. ipv4.addresses = [{
  4. address = "10.32.47.10";
  5. prefixLength = 24;
  6. }];
  7. };
  8. networking.defaultGateway = {
  9. address = "10.32.47.1";
  10. interface = "enp11s0f0";
  11. };
  12. networking.firewall.extraInputRules = "ip saddr 10.32.47.0/24 accept";
  13. }