diff options
author | Franck Cuny <franck@fcuny.net> | 2024-12-14 10:06:01 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-12-14 10:06:01 -0800 |
commit | 63cd3e94d3c204eab25b99cf59fa3841b9e8093d (patch) | |
tree | 2707bdedfdbcec200a8ebca785458d4170790429 /justfile | |
parent | use agenix to manage secrets in the repository (diff) | |
download | world-63cd3e94d3c204eab25b99cf59fa3841b9e8093d.tar.gz |
add recipe to edit secret
Diffstat (limited to '')
-rw-r--r-- | justfile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/justfile b/justfile index 18f5068..96ddc1e 100644 --- a/justfile +++ b/justfile @@ -21,6 +21,13 @@ test-nix: fmt: nix fmt +[group('secrets')] +[doc('edit a secret')] +[macos] +secrets +args: + #!/etc/profiles/per-user/fcuny/bin/fish + cd secrets && agenix -e {{args}}.age -i (op read "op://Personal/nixos/private key?ssh-format=openssh"|psub) + [group('machines')] [doc('build the configuration for the current host')] [macos] |