| .vscode | ||
| src | ||
| .envrc | ||
| .gitignore | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| default.nix | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
| rosenpass-darkogo.svg | ||
| rustfmt.toml | ||
| shell.nix | ||
Hai Wireguard Oauth VPN
This is a stub repository to try to develop a Rosenpass Wireguard VPN with Oauth second factor authentification.
Getting started
-
Install direnv on your system by following the instructions provided on the project page.
Important: you can skip this step if you do not intend to use direnv as it's optional.direnvis a tool that setups your shell with the required environment variables (and tools in the case of Nix) to hack on! -
Clone the project
$ git clone git@forge.versia.pub:aprl/hai Cloning into 'hai'... direnv: error .envrc is blocked.If you have
direnvinstalled and configured for your shell you will see the following error message:direnv: error /path/hai/.envrc is blocked. Run `direnv allow` to approve its content -
If you installed
direnvthen allowdirenvto setup your shell with the required dependencies to develop$ direnv allow direnv: loading /path/hai/.envrc direnv: using flake
Development
Use nix shell to spawn a shell with cargo and all necessary dependencies.
Within this shell you can use cargo commands as you normally would.
If your project requires external dependencies (outside of crates.io) then use nix run '.#'
to build and run your project.