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.

27 lines
510 B

1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week ago
1 week 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}
  14. 10.33.64.19 ldap.${config.networking.domain}
  15. 10.33.64.19 install.${config.networking.domain}
  16. 10.33.64.19 ldap-linuxlab.informatik.hs-fulda.de
  17. '';
  18. };
  19. }