aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Washington <[email protected]>2021-09-10 16:39:52 +0000
committerAdam Washington <[email protected]>2021-09-10 16:40:11 +0000
commit604c088d1c3e7d6aa4b3bd354d532c71f7c568f6 (patch)
treef0e4b5bef327b31ec7ecc6d3fa007f4c4eb2e165
parentAdd documentation (diff)
downloadpia.nix-604c088d1c3e7d6aa4b3bd354d532c71f7c568f6.tar.xz
pia.nix-604c088d1c3e7d6aa4b3bd354d532c71f7c568f6.zip
Add Documentation
-rw-r--r--README.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/README.md b/README.md
index bb4f22b..eaa9640 100644
--- a/README.md
+++ b/README.md
@@ -18,11 +18,11 @@ You'll need to include this module in your `flake.nix` file:
```
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-21.05";
- inputs.pia.url = "path:/home/adam/Code/nixos-pia";
+ inputs.pia.url = "git+https://git.sr.ht/~rprospero/nixos-pia?ref=development";
inputs.pia.inputs.nixpkgs.follows = "nixpkgs";
outputs = { self, nixpkgs, pia }: {
- nixosConfigurations.mcp = nixpkgs.lib.nixosSystem {
+ nixosConfigurations.owlhouse = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
pia.nixosModule
@@ -37,7 +37,11 @@ And you'll need to enable the vpn in another module. For example, you might hav
{ config, ...}:
{
services.pia.enable = true;
- services.pia.authUserPass.username = "tron";
+ services.pia.authUserPass.username = "hooty";
services.pia.authUserPass.password = "hunter42";
}
```
+
+## FAQ
+
+* How do I use this without moving my configuration to Nix Flake? No idea. Let me know if you figure it out.