nix flake that provides samm-git/aws-vpn-client#16
{
inputs = {
awsvpnclient.url = "github:ymatsiuk/awsvpnclient";
};
outputs = {self, nixpkgs, awsvpnclient }:
{
nixosConfigurations.nixps = nixpkgs.lib.nixosSystem {
# ...
modules = [
{
nix.extraOptions = "experimental-features = nix-command flakes";
nix.package = pkgs.nixUnstable;
nixpkgs.overlays = [ awsvpnclient.overlay ];
}
];
};
};
}
You can find a slightly more sophisticated example in my flake
awsvpnclient start --config ~/path/to/config.ovpn