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