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.

26 lines
490 B

1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month 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. nameservers = [ "10.0.0.53" ];
  11. useDHCP = false;
  12. extraHosts = ''
  13. 10.33.64.20 nfs.${config.networking.domain} cache.${config.networking.domain}
  14. 10.33.64.19 ldap.${config.networking.domain}
  15. 10.33.64.19 ldap-linuxlab.informatik.hs-fulda.de
  16. '';
  17. };
  18. }