From 69bf17429a8e749c1126394e5bf82eeabf9df3b6 Mon Sep 17 00:00:00 2001 From: sils Date: Wed, 6 Dec 2023 16:34:53 +0100 Subject: feat(sys/networking): add network --- sys/networking/default.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/networking/default.nix b/sys/networking/default.nix index 1d55079..e1e6a14 100644 --- a/sys/networking/default.nix +++ b/sys/networking/default.nix @@ -1,4 +1,8 @@ -{config, ...}: { +{ + config, + self, + ... +}: { networking = { useDHCP = true; #nameservers = ["2620:fe::fe" "2620:fe::9" "9.9.9.9" "149.112.112.112"]; @@ -11,6 +15,18 @@ "@SSID_N1@".psk = "@PSK_N1@"; "@SSID_N2@".psk = "@PSK_N2@"; "@SSID_N3@".psk = "@PSK_N3@"; + "@SSID_N4@" = { + auth = '' + proto=RSN + key_mgmt=WPA-EAP + pairwise=CCMP + auth_alg=OPEN + eap=PEAP + identity="@IDENTITY_N4@" + password="@PSK_N4@" + ca_cert="${self}/files/DNSX-CA.pem" + ''; + }; }; userControlled = { enable = true; -- cgit 1.4.1