mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
Add eduroam wlan
This commit is contained in:
parent
b14db2b903
commit
bb3c37d0c9
2 changed files with 21 additions and 2 deletions
|
|
@ -27,6 +27,23 @@ in
|
|||
};
|
||||
|
||||
environment.systemPackages = [ pkgs.iwgtk ];
|
||||
|
||||
sops = {
|
||||
secrets."wlan/eduroam/password" = { };
|
||||
|
||||
templates."iwd/eduroam.8021x".content = ''
|
||||
[Security]
|
||||
EAP-Method=PEAP
|
||||
EAP-Identity=anonymous@h-da.de
|
||||
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"}
|
||||
'';
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"C /var/lib/iwd/eduroam.8021x - - - - ${config.sops.templates."iwd/eduroam.8021x".path}"
|
||||
];
|
||||
}
|
||||
|
||||
(lib.mkMerge (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue