From 0bfe548c975f054a2c6fb229cf67792cd06b7e65 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Sat, 7 Dec 2024 18:31:08 -0500 Subject: [PATCH] make wireless properly secret --- base.nix | 5 +++-- wireless.key | Bin 0 -> 77 bytes 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 wireless.key diff --git a/base.nix b/base.nix index 62d0932..16d9cac 100644 --- a/base.nix +++ b/base.nix @@ -18,14 +18,15 @@ # Add wifi credentials networking.wireless = { enable = true; + secretsFile = ./wireless.key; networks."PAL3.0".auth = '' eap=PEAP key_mgmt=WPA-EAP pairwise=CCMP auth_alg=OPEN proto=RSN - identity="USERNAME@purdue.edu" - password="PASSWORD" + identity=ext:identity + password=ext:password phase1="peaplabel=0" phase2="auth=MSCHAPV2" ''; diff --git a/wireless.key b/wireless.key new file mode 100644 index 0000000000000000000000000000000000000000..45f9cbaa81ef1657c98ff600d134a612ef572a72 GIT binary patch literal 77 zcmV-T0J8r8M@dveQdv+`0M(!E9!QdOM!%0Wg4Nt`P4$)Ts^Qoan~tv-WAaXm4v$#S jKTHl-JUG=1sOhRSD$JL)(lf74q`0=+hW)$U;=`6xdATQF literal 0 HcmV?d00001