From a0c9c5eb99dac21422d0bc70c803c853ed148889 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Mon, 11 Sep 2023 02:03:19 -0600 Subject: [PATCH] trivios: enable wlan --- triviOS/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/triviOS/default.nix b/triviOS/default.nix index 5fcc16a..1dc0ca0 100644 --- a/triviOS/default.nix +++ b/triviOS/default.nix @@ -34,7 +34,14 @@ libraspberrypi libgpiod ]; - networking.wireless.enable = true; + + networking.wireless = { + enable = true; + environmentFile = "/var/lib/wlan.conf"; + + networks."@WLAN_SSID@".psk = "@WLAN_PSK@"; + }; + networking.hostName = "tripi"; services.openssh = { enable = true;