{ config, pkgs, ... }: { networking = { wireless = { enable = true; networks = { "your-SSID" = { psk = "your-wifi-password"; }; }; }; dhcp = true; }; }