dotfiles/nixos/hardware/wifi.nix
Noah Masur d021baa1bb split nixos from darwin
required because they don't share all attributes
2022-12-21 17:07:58 -07:00

14 lines
296 B
Nix

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