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 | 63a761b4da5262749c4cb122739666d412456776 (patch) | |
tree | 330114a66c3eddc376f09ad3ed149c0adf06b3a8 /jeschli/2configs | |
parent | 676f5668de1f15b9297dd5ca36385cbfc0f33d87 (diff) |
j: +officevpn by luis
Diffstat (limited to 'jeschli/2configs')
-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 000000000..eb0477d51 --- /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 +} + |