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
423 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. {
  2. imports = [
  3. ./hardware.nix
  4. # TODO: ./cache.nix
  5. # ./netinstall.nix
  6. ];
  7. deployment = {
  8. targetHost = "10.33.64.21";
  9. };
  10. networking = {
  11. interfaces."eth0" = {
  12. ipv4.addresses = [{
  13. address = "10.33.64.21";
  14. prefixLength = 20;
  15. }];
  16. };
  17. defaultGateway = {
  18. interface = "eth0";
  19. address = "10.33.64.1";
  20. };
  21. };
  22. system.stateVersion = "24.05";
  23. }