update eduroam thing to use stable

This commit is contained in:
Schrottkatze 2025-01-01 03:13:45 +01:00
parent 9a23089b23
commit e16b9be120
No known key found for this signature in database

View file

@ -1,5 +1,5 @@
# Thanks @ kloenk (@kloenk@catcatnya.com) for making this for me at MRMCD 2024 :33
{pkgs, ...}: let
{pkgs-stable, ...}: let
caDir = "/var/lib/easyroam";
uuid = "821ad781-76a3-447f-a2e8-c7f18a1df3bc";
in {
@ -7,7 +7,7 @@ in {
requires = ["NetworkManager.service"];
after = ["NetworkManager.service"];
requiredBy = ["network-online.target"];
path = with pkgs; [networkmanager openssl gnused];
path = with pkgs-stable; [networkmanager openssl gnused];
script = ''
set -x
openssl pkcs12 -password pass: -in ${caDir}/my_easyroam_cert.p12 -legacy -nokeys | openssl x509 > ${caDir}/easyroam_client_cert.pem