mirror of
https://github.com/shokinn/.files.git
synced 2025-10-14 02:08:31 +00:00
Reencrypt encrypted files with new age key; add commands to edit encrypted files and reencrypt them directly when changed
This commit is contained in:
parent
cc6e8bf1c9
commit
70b81bd736
6 changed files with 43 additions and 9 deletions
|
@ -184,6 +184,8 @@ alias agenix='RULES='\''./secrets/secrets.nix'\'' agenix'
|
|||
alias agenix-edit="agenix -i {{@@ env['HOME'] @@}}/.ssh/identities/agenix-phg -e"
|
||||
alias ane='agenix-edit'
|
||||
alias cane="EDITOR='code -w' agenix-edit"
|
||||
alias ade='age-edit -t /tmp/ -M -a {{@@ env['HOME'] @@}}/.age/phg-age-dotfiles'
|
||||
alias cade='age-edit -e "${HOME}/.local/bin/codew" -t /tmp/ -M -a {{@@ env['HOME'] @@}}/.age/phg-age-dotfiles'
|
||||
alias du="duf"
|
||||
alias ssh-no-check="ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
|
||||
alias ssh-strongbox-keys="SSH_AUTH_SOCK=~/Library/Group\ Containers/group.strongbox.mac.mcguill/agent.sock ssh-add -l"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue