NixOS deployment for LinuxLab
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.

28 lines
560 B

2 weeks ago
  1. { config, name, ...}:
  2. {
  3. networking = {
  4. nftables.enable = true;
  5. hostName = name;
  6. domain = "linuxlab.informatik.hs-fulda.de";
  7. search = [
  8. "linuxlab.informatik.hs-fulda.de"
  9. ];
  10. # TODO: nameservers = [ "10.0.0.53" ];
  11. nameservers = [ "1.0.0.1" "1.1.1.1" ];
  12. useDHCP = false;
  13. extraHosts = ''
  14. 10.32.45.10 nfs.${config.networking.domain}
  15. 10.32.45.11 ldap.${config.networking.domain}
  16. 10.32.45.12 install.${config.networking.domain}
  17. 10.32.45.11 ldap-linuxlab.informatik.hs-fulda.de
  18. '';
  19. };
  20. }