on the boot partiation create a file called
/CONFIG/network/my-network
with the following content
[connection]
id=hassos-network
uuid=72111c67-4a5d-4d5c-925e-f8ee26efb3c3
type=802-11-wireless
[802-11-wireless]
mode=infrastructure
ssid=<MySSID>
[802-11-wireless-security]
auth-alg=open
key-mgmt=wpa-psk
psk=<MyPassword>
[ipv4]
method=auto
[ipv6]
addr-gen-mode=stable-privacy
method=auto
This is from my own documentation, but I moved to wired 2 years ago, so maybe it’s outdated.
you could also check this topic