diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/README.md b/README.md index 8096032..781b830 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,22 @@ - Managed using agenix - Don't forget to add secrets to git! -- Edit secrets such as below +Create secrets: ```bash -; EDITOR=hx nix run git+https://github.com/ryantm/agenix -- -e nix/hosts/corrino/secrets/pretix.age +./secret_create.sh +``` + +Edit secrets: + +```bash +; EDITOR=hx nix run git+https://github.com/ryantm/agenix -- -e <secret> +``` + +Print the generated secrets file as follows: + +```bash +; nix eval -I nixpkgs=flake:nixpkgs --file secrets.nix ``` ## Deploy |