mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Add certificate to eduroam wlan
This commit is contained in:
parent
3612ddaff4
commit
4ad1faa82e
2 changed files with 8 additions and 3 deletions
|
|
@ -29,12 +29,16 @@ in
|
|||
environment.systemPackages = [ pkgs.iwgtk ];
|
||||
|
||||
sops = {
|
||||
secrets."wlan/eduroam/password" = { };
|
||||
secrets = {
|
||||
"wlan/eduroam/password" = { };
|
||||
"wlan/eduroam/cert" = { };
|
||||
};
|
||||
|
||||
templates."iwd/eduroam.8021x".content = ''
|
||||
[Security]
|
||||
EAP-Method=PEAP
|
||||
EAP-Identity=anonymous@h-da.de
|
||||
EAP-PEAP-CACert=${config.sops.placeholder."wlan/eduroam/cert"}
|
||||
EAP-PEAP-Phase2-Method=MSCHAPV2
|
||||
EAP-PEAP-Phase2-Identity=sebastian.stork@stud.h-da.de
|
||||
EAP-PEAP-Phase2-Password=${config.sops.placeholder."wlan/eduroam/password"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue