aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-11-05 11:38:16 +0000
committerFuwn <[email protected]>2024-11-05 11:38:16 +0000
commit5af828dbe74bbb8a13f69f3d3f4d50389dd059fe (patch)
treef835dd2d3981393a0a2f2b8936fd1f21d66fe67d
parentfeat(flake): secrets file support (diff)
downloadpia.nix-5af828dbe74bbb8a13f69f3d3f4d50389dd059fe.tar.xz
pia.nix-5af828dbe74bbb8a13f69f3d3f4d50389dd059fe.zip
docs(readme): add secrets file format information
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 920b65a..dd50c87 100644
--- a/README.md
+++ b/README.md
@@ -35,6 +35,9 @@ attribute set.
# Alternatively, you can use the `authUserPassFile` attribute if you are using
# a Nix secrets manager. Here's an example using sops-nix.
+ #
+ # The secret you provide to `authUserPassFile` should be a multiline string with
+ # a single username on the first line a single password on the second line.
services.pia.authUserPassFile = config.sops.secrets.pia.path;
}
```