2024-11-25 15:30:55 +00:00
|
|
|
{ config, pkgs, ... }:
|
2024-08-05 13:54:37 +01:00
|
|
|
{
|
|
|
|
home.packages = [
|
2024-09-18 10:25:59 +01:00
|
|
|
(pkgs.writeShellScriptBin "ukaea-vpn-connect" ''
|
2024-11-25 15:30:55 +00:00
|
|
|
sudo ${pkgs.openfortivpn}/bin/openfortivpn --config=${./ukaea-vpn.conf} --pinentry=${config.services.gpg-agent.pinentryPackage}/bin/pinentry
|
2024-09-18 10:25:59 +01:00
|
|
|
'')
|
|
|
|
(pkgs.writeShellScriptBin "jetdata-vpn-connect" ''
|
2024-11-25 15:30:55 +00:00
|
|
|
sudo ${pkgs.openfortivpn}/bin/openfortivpn --config=${./jetdata-vpn.conf} --pinentry=${config.services.gpg-agent.pinentryPackage}/bin/pinentry
|
2024-09-18 10:25:59 +01:00
|
|
|
'')
|
2024-08-05 13:54:37 +01:00
|
|
|
];
|
|
|
|
}
|