dotfiles/modules/nixos/hardware/wifi.nix

14 lines
301 B
Nix
Raw Normal View History

2022-12-21 21:18:03 +00:00
{ config, pkgs, lib, ... }: {
2023-01-21 14:29:03 +00:00
config = lib.mkIf (config.physical && pkgs.stdenv.isLinux) {
2022-05-29 17:44:45 +00:00
2022-12-21 21:18:03 +00:00
# Enables wireless support via wpa_supplicant.
networking.wireless.enable = true;
# Allows the user to control the WiFi settings.
networking.wireless.userControlled.enable = true;
};
}