nix/modules/nixos/wifi.nix
2024-02-16 14:57:52 -06:00

10 lines
357 B
Nix

{pkgs, ...}: let
inherit (pkgs.lib) mkDefault;
in {
networking.networkmanager.enable = mkDefault true;
systemd.services.NetworkManager-wait-online.enable = mkDefault false;
# TODO: networking.networkmanager.wifi.backend = "iwd"; ?
# TODO: powersave?
# TODO: can I pre-configure my usual wifi networks with SSIDs and PSKs loaded from secrets?
}