From e2bf47d268129ee6889d0ca8136e3121271790e0 Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Fri, 2 Aug 2024 10:20:35 -0500 Subject: [PATCH] temporarily enabled dchp for the karp site this is so I can preconfigure devices. --- hosts/cirrostratus/default.nix | 11 ++++++----- hosts/remotepi-karp/default.nix | 7 ++++--- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/hosts/cirrostratus/default.nix b/hosts/cirrostratus/default.nix index 718d9c9..8bf753e 100644 --- a/hosts/cirrostratus/default.nix +++ b/hosts/cirrostratus/default.nix @@ -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 = [ ... ]; diff --git a/hosts/remotepi-karp/default.nix b/hosts/remotepi-karp/default.nix index 52a1b1c..a98d66d 100644 --- a/hosts/remotepi-karp/default.nix +++ b/hosts/remotepi-karp/default.nix @@ -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 = {