From dab42bd8c2e6976eebfb832239a1143e8fae8766 Mon Sep 17 00:00:00 2001 From: GaspardCulis Date: Tue, 5 Nov 2024 23:06:13 +0100 Subject: [PATCH] feat(hosts/pi4): Setup networking --- hosts/pi4/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/hosts/pi4/default.nix b/hosts/pi4/default.nix index 3f3e055..b544269 100644 --- a/hosts/pi4/default.nix +++ b/hosts/pi4/default.nix @@ -24,4 +24,15 @@ users.users.root.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHQyRXFQ6iA5p0vDuoGSHZfajiVZPAGIyqhTziM7QgBV gaspard@nixos" ]; + + networking = { + interfaces."wlan0".useDHCP = true; + wireless = { + interfaces = ["wlan0"]; + enable = true; + networks = { + "TestNetwork".psk = "not_an_actual_password_leak"; + }; + }; + }; }