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.

28 lines
414 B

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