dotfiles/modules/nixos/hardware/wifi.nix
2023-02-20 20:37:37 -05:00

14 lines
301 B
Nix

{ config, pkgs, lib, ... }: {
config = lib.mkIf (config.physical && pkgs.stdenv.isLinux) {
# Enables wireless support via wpa_supplicant.
networking.wireless.enable = true;
# Allows the user to control the WiFi settings.
networking.wireless.userControlled.enable = true;
};
}