j: +officevpn by luis
This commit is contained in:
parent
676f5668de
commit
63a761b4da
19
jeschli/2configs/officevpn.nix
Normal file
19
jeschli/2configs/officevpn.nix
Normal file
@ -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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user