{ config, pkgs, lib, ... }: { system.custom.wifi = { enable = true; configurationFile = toString <desktop_secrets/wpa_supplicant>; system = "networkmanager"; }; environment.etc."NetworkManager/system-connections".source = toString <desktop_secrets/network-manager/system-connections>; }