mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2025-01-10 08:59:24 +01:00
update eduroam thing to use stable
This commit is contained in:
parent
9a23089b23
commit
e16b9be120
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
# Thanks @ kloenk (@kloenk@catcatnya.com) for making this for me at MRMCD 2024 :33
|
# Thanks @ kloenk (@kloenk@catcatnya.com) for making this for me at MRMCD 2024 :33
|
||||||
{pkgs, ...}: let
|
{pkgs-stable, ...}: let
|
||||||
caDir = "/var/lib/easyroam";
|
caDir = "/var/lib/easyroam";
|
||||||
uuid = "821ad781-76a3-447f-a2e8-c7f18a1df3bc";
|
uuid = "821ad781-76a3-447f-a2e8-c7f18a1df3bc";
|
||||||
in {
|
in {
|
||||||
|
@ -7,7 +7,7 @@ in {
|
||||||
requires = ["NetworkManager.service"];
|
requires = ["NetworkManager.service"];
|
||||||
after = ["NetworkManager.service"];
|
after = ["NetworkManager.service"];
|
||||||
requiredBy = ["network-online.target"];
|
requiredBy = ["network-online.target"];
|
||||||
path = with pkgs; [networkmanager openssl gnused];
|
path = with pkgs-stable; [networkmanager openssl gnused];
|
||||||
script = ''
|
script = ''
|
||||||
set -x
|
set -x
|
||||||
openssl pkcs12 -password pass: -in ${caDir}/my_easyroam_cert.p12 -legacy -nokeys | openssl x509 > ${caDir}/easyroam_client_cert.pem
|
openssl pkcs12 -password pass: -in ${caDir}/my_easyroam_cert.p12 -legacy -nokeys | openssl x509 > ${caDir}/easyroam_client_cert.pem
|
||||||
|
|
Loading…
Reference in a new issue