Getting Eduroam to work at University of Amsterdam

It took me a while to get Eduroam working at the University of Amsterdam (UvA).

This approach did not work for me. (The UvA doesn’t follow this installer set-up).

But this works for me (works with agenix):


  networking.networkmanager.enable = false;
  networking.wireless = {
    secretsFile = "/run/agenix/secret1";
    enable = true;
    userControlled.enable = true;
    networks = {
      "eduroam" = {
        hidden = true;
        priority = 2;
        auth = ''
           key_mgmt=WPA-EAP
           eap=TTLS
           identity="uvaid@uva.nl" #not your email but your id + @uva.nl
           password=ext:eduroam_password
           anonymous_identity="anonymous@uva.nl"
           phase2="auth=PAP"
           '';
      };
4 Likes

there’s also a bit on this at wpa_supplicant - NixOS Wiki - you might consider adding to it :slight_smile:

1 Like

Very cool! I normally configure eduroam in KDE Plasma, does this replace that?

Not really; if you’re using the DE tools they hook into NetworkManager.

You can make an equivalent configuration for networking.networkmanager.ensureProfiles.profiles with some tinkering if you want to manage those declaratively, though. The redhat docs for this are pretty good.

1 Like