12 lines
472 B
Nix
12 lines
472 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
home.packages = [
|
|
(pkgs.writeShellScriptBin "ukaea-vpn-connect" ''
|
|
sudo ${pkgs.openfortivpn}/bin/openfortivpn --config=${./ukaea-vpn.conf} --pinentry=${config.services.gpg-agent.pinentryPackage}/bin/pinentry
|
|
'')
|
|
(pkgs.writeShellScriptBin "jetdata-vpn-connect" ''
|
|
sudo ${pkgs.openfortivpn}/bin/openfortivpn --config=${./jetdata-vpn.conf} --pinentry=${config.services.gpg-agent.pinentryPackage}/bin/pinentry
|
|
'')
|
|
];
|
|
}
|