about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--justfile7
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]