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.

35 lines
542 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 week ago
1 week ago
1 week ago
  1. {
  2. imports = [
  3. ./hardware.nix
  4. ./dhcp.nix
  5. ./nfs.nix
  6. ];
  7. deployment = {
  8. targetHost = "10.33.64.20";
  9. };
  10. networking = {
  11. interfaces."enp4s0f0" = {
  12. ipv4.addresses = [{
  13. address = "10.33.64.20";
  14. prefixLength = 20;
  15. }];
  16. };
  17. interfaces."enp4s0f1" = {
  18. ipv4.addresses = [{
  19. address = "10.32.44.20";
  20. prefixLength = 24;
  21. }];
  22. };
  23. defaultGateway = {
  24. interface = "enp4s0f0";
  25. address = "10.33.64.1";
  26. };
  27. };
  28. system.stateVersion = "24.05";
  29. }