diff options
| -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" | |
