nixos-config/system/desktop/network.nix
Ingolf Wagner 54bab918d7
init
2019-10-24 02:24:33 +02:00

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