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
1 changed files with 16 additions and 0 deletions

View File

@ -44,5 +44,21 @@
tor-browser-bundle-bin
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"
''
)
];
}