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.

37 lines
581 B

2 weeks ago
2 weeks ago
2 weeks ago
2 weeks ago
2 weeks ago
2 weeks ago
2 weeks ago
2 weeks ago
2 weeks ago
2 weeks ago
2 weeks ago
2 weeks ago
  1. {
  2. imports = [
  3. ./hardware.nix
  4. ./dhcp.nix
  5. ./nfs.nix
  6. ./cache.nix
  7. ./netinstaller.nix
  8. ];
  9. deployment = {
  10. targetHost = "10.33.64.20";
  11. };
  12. networking = {
  13. interfaces."enp4s0f0" = {
  14. ipv4.addresses = [{
  15. address = "10.33.64.20";
  16. prefixLength = 20;
  17. }];
  18. };
  19. interfaces."enp4s0f1" = {
  20. ipv4.addresses = [{
  21. address = "10.32.44.20";
  22. prefixLength = 24;
  23. }];
  24. };
  25. defaultGateway = {
  26. interface = "enp4s0f0";
  27. address = "10.33.64.1";
  28. };
  29. };
  30. system.stateVersion = "24.05";
  31. }