From e0346fadb4daeea109b8b86bcd86295d10d1e9b4 Mon Sep 17 00:00:00 2001 From: twoneis Date: Thu, 6 Jun 2024 00:00:07 +0200 Subject: [PATCH] move use dhcp --- devices/ellaca/default.nix | 5 +---- devices/pleniscenta/default.nix | 5 +---- modules/default.nix | 1 + 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/devices/ellaca/default.nix b/devices/ellaca/default.nix index 03fe0ea..2dbc382 100644 --- a/devices/ellaca/default.nix +++ b/devices/ellaca/default.nix @@ -5,10 +5,7 @@ nixpkgs.hostPlatform = "x86_64-linux"; - networking = { - hostName = "ellaca"; - useDHCP = true; - }; + networking.hostName = "ellaca"; boot = { initrd = { diff --git a/devices/pleniscenta/default.nix b/devices/pleniscenta/default.nix index 35e34cb..6c788d4 100644 --- a/devices/pleniscenta/default.nix +++ b/devices/pleniscenta/default.nix @@ -5,10 +5,7 @@ nixpkgs.hostPlatform = "x86_64-linux"; - networking = { - hostName = "pleniscenta"; - useDHCP = true; - }; + networking.hostName = "pleniscenta"; boot = { initrd = { diff --git a/modules/default.nix b/modules/default.nix index ab52eac..8c236eb 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -41,6 +41,7 @@ documentation.nixos.enable = false; networking = { + useDHCP = true; wireless.iwd.enable = true; extraHosts = ''