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;