nixos-config/modules/networking.nix

16 lines
216 B
Nix

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