From 63cd3e94d3c204eab25b99cf59fa3841b9e8093d Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 14 Dec 2024 10:06:01 -0800 Subject: add recipe to edit secret --- justfile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'justfile') 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] -- cgit 1.4.1