Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Latest commit

 

History

History
33 lines (28 loc) · 680 Bytes

README.md

File metadata and controls

33 lines (28 loc) · 680 Bytes

awsvpnclient

nix flake that provides samm-git/aws-vpn-client#16

Using the flake

{
  inputs.awsvpnclient.url = "github:ymatsiuk/awsvpnclient";
  outputs = { self, nixpkgs, awsvpnclient }:
    let
      system = "x86_64-linux";
    in
    {
      nixosConfigurations.nixps = nixpkgs.lib.nixosSystem {
        # ...
        modules = [{ environment.systemPackages = [ awsvpnclient ]; }];
        # ...
      };
      overlays = [
        (final: prev: {
          awsvpnclient = awsvpnclient.packages.${system}.awsvpnclient;
        })
      ];
    };
}

Using the client

awsvpnclient start --config ~/path/to/config.ovpn