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.

35 lines
623 B

2 months ago
  1. {
  2. networking = {
  3. hostName = "ldap-linuxlab";
  4. domain = "informatik.hs-fulda.de";
  5. useDHCP = false;
  6. interfaces."eth0" = {
  7. ipv4.addresses = [ {
  8. address = "10.32.31.25";
  9. prefixLength = 24;
  10. } ];
  11. ipv6.addresses = [ {
  12. address = "2001:638:301:201f::25";
  13. prefixLength = 64;
  14. } ];
  15. };
  16. defaultGateway = {
  17. address = "10.32.31.1";
  18. interface = "eth0";
  19. };
  20. defaultGateway6 = {
  21. address = "2001:638:301:201f::1";
  22. interface = "eth0";
  23. };
  24. nameservers = [
  25. "10.0.0.53"
  26. ];
  27. nftables.enable = true;
  28. };
  29. }