about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorEmile <git@emile.space>2024-03-25 15:32:47 +0100
committerEmile <git@emile.space>2024-03-25 15:32:47 +0100
commit27c9efa48891a7bb69ba0ef642e18cf5884a9e23 (patch)
tree5bda74a691749cb8c7b054074cba18d0e6ee022f /README.md
parent22c9f80f14c598c8e38bb26d4f90706e76742946 (diff)
authelia
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
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