added university vpn

This commit is contained in:
Kristian Krsnik 2023-11-04 14:43:46 +01:00
parent a7bb2b53f9
commit 8a352b287f
Signed by: Kristian
GPG Key ID: FD1330AC9F909E85

View File

@ -44,5 +44,21 @@
tor-browser-bundle-bin tor-browser-bundle-bin
hypnotix hypnotix
# VPN client for university
(
pkgs.writeScriptBin "univpn"
''
read -p "Username: " username
read -s -p "Password: " password
# newline
echo ""
read -p "OTP: " otp
sudo ${pkgs.gof5}/bin/gof5 --server "vpn.univie.ac.at" --username "$username@$otp" --password "$password"
''
)
]; ];
} }