dotfiles/nixos/hardware/wifi.nix

14 lines
296 B
Nix
Raw Normal View History

2022-12-21 21:18:03 +00:00
{ config, pkgs, lib, ... }: {
2022-12-21 21:18:03 +00:00
config = lib.mkIf (config.physical && config.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;
};
}