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.

45 lines
720 B

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