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
385 B

2 weeks ago
  1. {
  2. imports = [
  3. ./hardware.nix
  4. ./nfs.nix
  5. ];
  6. deployment = {
  7. targetHost = "10.32.45.10";
  8. };
  9. networking = {
  10. interfaces."eth0" = {
  11. ipv4.addresses = [{
  12. address = "10.32.45.10";
  13. prefixLength = 24;
  14. }];
  15. };
  16. defaultGateway = {
  17. interface = "eth0";
  18. address = "10.32.45.1";
  19. };
  20. };
  21. system.stateVersion = "24.05";
  22. }