nixos/system/home/openfortivpn/ukaea.nix

12 lines
326 B
Nix
Raw Normal View History

2024-12-16 17:31:35 +00:00
{ pkgs, ... }:
{
home.packages = [
(pkgs.writeShellScriptBin "ukaea-vpn-connect" ''
2024-12-16 17:31:35 +00:00
sudo ${pkgs.openfortivpn}/bin/openfortivpn --config=${./ukaea-vpn.conf}
'')
(pkgs.writeShellScriptBin "jetdata-vpn-connect" ''
2024-12-16 17:31:35 +00:00
sudo ${pkgs.openfortivpn}/bin/openfortivpn --config=${./jetdata-vpn.conf}
'')
];
}