From 3c79a42686239c84ab6531f21f51882e4c622732 Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Tue, 30 Dec 2025 10:26:25 -0600 Subject: allow for configuring dhcp via networkd --- hosts/ganymede/config.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'hosts') diff --git a/hosts/ganymede/config.nix b/hosts/ganymede/config.nix index b2feb60..7f32a59 100644 --- a/hosts/ganymede/config.nix +++ b/hosts/ganymede/config.nix @@ -22,12 +22,14 @@ services = { networking = { enable = true; - static = { + networkd = { enable = true; ssid = "williams"; - pskFile = "williams-psk"; - ip = "192.168.50.2"; - gateway = "192.168.50.1"; + pskFile = config.collinux.secrets."williams-psk".path; + static = { + ip = "192.168.50.2/24"; + gateway = "192.168.50.1"; + }; }; tailscale.enable = true; sshd.enable = true; -- cgit v1.3.1