temporarily enabled dchp for the karp site

this is so I can preconfigure devices.
This commit is contained in:
Gabe Venberg 2024-08-02 10:20:35 -05:00
parent c543a80023
commit e2bf47d268
2 changed files with 10 additions and 8 deletions

View file

@ -35,9 +35,10 @@ inputs.nixpkgs.lib.nixosSystem {
enable = true;
networks."eth0" = {
name = "eth0";
address = ["10.10.10.31/24"];
gateway = ["10.10.10.1"];
dns = ["1.1.1.1"];
DHCP = "yes";
# address = ["10.10.10.31/24"];
# gateway = ["10.10.10.1"];
# dns = ["1.1.1.1"];
};
};
@ -58,14 +59,14 @@ inputs.nixpkgs.lib.nixosSystem {
};
};
imports = [
../../roles/home-manager/minimal-terminal.nix
../../roles/home-manager/terminal.nix
../../configs/home-manager/common.nix
inputs.nixvim.homeManagerModules.nixvim
];
};
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.grub.enable = true;
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];

View file

@ -35,9 +35,10 @@ inputs.nixpkgs.lib.nixosSystem {
enable = true;
networks."eth0" = {
name = "eth0";
address = ["10.10.10.30/24"];
gateway = ["10.10.10.1"];
dns = ["1.1.1.1"];
DHCP = "yes";
# address = ["10.10.10.30/24"];
# gateway = ["10.10.10.1"];
# dns = ["1.1.1.1"];
};
};
fileSystems = {