Initial prototype for Wireguard based PIA VPN - not quite 'ready' yet

This commit is contained in:
2023-03-08 23:49:02 -07:00
parent 8fb45a7ee5
commit cea9b9452b
6 changed files with 216 additions and 74 deletions

View File

@@ -1,7 +1,7 @@
{ config, pkgs, lib, ... }:
let
cfg = config.pia;
cfg = config.pia.openvpn;
vpnfailsafe = pkgs.stdenv.mkDerivation {
pname = "vpnfailsafe";
version = "0.0.1";
@@ -14,7 +14,7 @@ let
};
in
{
options.pia = {
options.pia.openvpn = {
enable = lib.mkEnableOption "Enable private internet access";
server = lib.mkOption {
type = lib.types.str;