diff options
| author | Isabella Bastaja <isabella@sorre.xyz> | 2026-06-29 11:23:31 +0200 |
|---|---|---|
| committer | Isabella Bastaja <isabella@sorre.xyz> | 2026-06-30 15:45:37 +0200 |
| commit | 0044c98c0abc4b7ec3c37db8816e58c385d94234 (patch) | |
| tree | 514c36dbeb2965e71ae0fed17c7462c1cdf74b57 | |
| parent | cdbbcec2f0daa39d0c1ec3a3f9b3627e1f400cf6 (diff) | |
nyaan: fix network configs
| -rw-r--r-- | hosts/nyaan/network.nix | 8 | ||||
| -rw-r--r-- | share/nixos-modules/iwd-ext.nix | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/hosts/nyaan/network.nix b/hosts/nyaan/network.nix index 3f3f1a5..5730ead 100644 --- a/hosts/nyaan/network.nix +++ b/hosts/nyaan/network.nix @@ -77,7 +77,7 @@ in networkType = "psk"; config.Security.Passphrase = "@KOPSINET_PSK@"; }; - "Pixel_3139" = { + "Pixel_3169" = { networkType = "psk"; config.Security.Passphrase = "@PHONE_HOTSPOT_PSK@"; }; @@ -97,11 +97,13 @@ in }; "Students-TVZ" = { networkType = "8021x"; - config.Secuirty = { + config.Security = { EAP-Method = "PAP"; EAP-Identity = "mbastaja@tvz.hr"; + EAP-PAEP-ServerDomainMasl = "freeradius.tvz.hr"; EAP-PEAP-Phase2-Method = "MSCHAPV2"; - EAP-Password = "@EDUROAM_PASS@"; + EAP-PEAP-Phase2-Identity = "mbastaja@tvz.hr"; + EAP-PEAP-Phase2-Password = "@EDUROAM_PASS@"; }; }; }; diff --git a/share/nixos-modules/iwd-ext.nix b/share/nixos-modules/iwd-ext.nix index faa52c0..9aaae22 100644 --- a/share/nixos-modules/iwd-ext.nix +++ b/share/nixos-modules/iwd-ext.nix @@ -200,7 +200,7 @@ in script = '' set -xeu - rm "$STATE_DIRECTORY/*.{open,psk,8021x}" + rm -f "$STATE_DIRECTORY/*.{open,psk,8021x}" for f in ${networkTemplateDir}/var/lib/iwd/*; do cat "$f" | |
