18 lines
343 B
Nix
Raw Normal View History

2024-04-20 09:42:06 -04: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 = !config.networking.networkmanager.enable;
2022-12-21 14:18:03 -07:00
# Allows the user to control the WiFi settings.
networking.wireless.userControlled.enable = true;
};
}