nixos-config/system/desktop/network.nix
2019-12-20 17:54:26 +13:00

12 lines
312 B
Nix

{ 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>;
}