diff --git a/flake.lock b/flake.lock index 1934bff..0861055 100644 --- a/flake.lock +++ b/flake.lock @@ -166,9 +166,21 @@ "neovim-dotfiles": "neovim-dotfiles", "nixpkgs": "nixpkgs", "plasma-manager": "plasma-manager", + "secrets": "secrets", "zen-browser": "zen-browser" } }, + "secrets": { + "locked": { + "path": "./secrets", + "type": "path" + }, + "original": { + "path": "./secrets", + "type": "path" + }, + "parent": [] + }, "systems": { "locked": { "lastModified": 1681028828, diff --git a/flake.nix b/flake.nix index 30532e5..2e2c372 100644 --- a/flake.nix +++ b/flake.nix @@ -204,15 +204,21 @@ ssid = "eduroam"; }; wifi-security = { + group = "ccmp"; + pairwise = "ccmp"; + proto = "rsn"; key-mgmt = "wpa-eap"; }; "802-1x" = { + altsubject_match = "DNS:eduroam.unimi.it"; # # not all or even some additional values may be needed here according to your institution eap = "PEAP"; # # adapt according to your universities setup - identity = "dario.spinnato@studenti.unimi.it"; - client-cert = "/etc/ssl/certs/eduroam/cert.pem"; - private-key-password = inputs.secrets.private-key-password; + anonimous-identity = inputs.secrets.eduroam.username; + identity = inputs.secrets.eduroam.username; + password = inputs.secrets.eduroam.password; + phase2-auth = "mschapv2"; ca-cert = "/etc/ssl/certs/certs.pem"; + ca-path = "/etc/ssl/certs/certs.pem"; }; ipv4 = { method = "auto";