diff options
author | jeschli <jeschli@gmail.com> | 2018-07-31 16:36:51 +0200 |
---|---|---|
committer | jeschli <jeschli@gmail.com> | 2018-07-31 16:36:51 +0200 |
commit | 6607847d26ea402c550df551f2c7d65e31cfaf13 (patch) | |
tree | 47eb6d134f17468d6ccc03d5971232c0fc873919 | |
parent | 2d29dea4af6ef1ceafc103411ae8b27a7e5b949f (diff) |
j: +officevpn by luis
-rw-r--r-- | jeschli/2configs/officevpn.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/jeschli/2configs/officevpn.nix b/jeschli/2configs/officevpn.nix new file mode 100644 index 0000000..eb0477d --- /dev/null +++ b/jeschli/2configs/officevpn.nix @@ -0,0 +1,19 @@ +{ config, pkgs, ... }: + +{ + nixpkgs.config.packageOverrides = pkgs: { + openvpn = pkgs.openvpn.override { pkcs11Support = true; useSystemd = false;}; + }; + + environment.systemPackages = with pkgs; [ + opensc + openvpn + yubikey-manager + ]; + + services.pcscd.enable = true; + + # To start the vpn manually execute + # $ openvpn --config clien.ovpn +} + |