diff --git a/modules/hardware/wifi.nix b/modules/hardware/wifi.nix index 7171f4f..d36fc86 100644 --- a/modules/hardware/wifi.nix +++ b/modules/hardware/wifi.nix @@ -21,24 +21,34 @@ in { networking.wireless = { enable = true; userControlled.enable = true; + allowAuxiliaryImperativeNetworks = true; secretsFile = toString config.age.secrets.wifi.path; networks = { "Wi-Fi de Ruiters" = { - pskRaw = "ext:psk_wifideruiter"; + psk = "ext:psk_ruiter"; }; "kargadoor" = { - pskRaw = "ext:psk_kargadoor"; + psk = "ext:psk_kargadoor"; }; - "eduroam" = { + "Hete plek" = { + psk = "ext:psk_hotspot"; + }; + + "Woestgaafsecure Gamelab" = { + psk = "ext:psk_sticky"; + }; + + "Utrecht University" = { + authProtocols = ["WPA-EAP"]; auth = '' - key_mgmt=WPA-EAP - eap=PWD - identity="ext:identity_eduroam" - password="ext:psk_eduroam" + eap=PEAP + identity="k.j.deruiter@students.uu.nl" + password="ext:psk_uni" + phase2="auth=MSCHAPV2" ''; }; }; diff --git a/secrets/wifi.age b/secrets/wifi.age index 451c391..d0f3b4a 100644 Binary files a/secrets/wifi.age and b/secrets/wifi.age differ