14 lines
301 B
Nix
Raw Normal View History

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