diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-12-30 10:26:25 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-12-30 10:26:25 -0600 |
| commit | 3c79a42686239c84ab6531f21f51882e4c622732 (patch) | |
| tree | 79e50eb81ba5588db5d4222ce0ba7c74e35c298d /hosts | |
| parent | 2c121c5411a78a5e8fc98b145c9667c8528e238c (diff) | |
allow for configuring dhcp via networkd
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/ganymede/config.nix | 10 |
1 files changed, 6 insertions, 4 deletions
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; |
