File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ task_generate_hm_sops_configuration() {
7878
7979 find " ${dir} /hosts/${HOST} /users" -mindepth 1 -maxdepth 1 -type d ! -name " .*" -printf ' %f\n' > tmp
8080 while IFS= read -r user; do
81- sops_create_or_update_public_age_key " user_${user} " " $( ssh-to-age < " ${dir} / hosts/${HOST} /users/${user} /secrets/id_ed25519.pub" ) " " $file "
81+ sops_create_or_update_public_age_key " user_${user} " " $( sops -d " hosts/${HOST} /users/${user} /secrets/id_ed25519.pub" | ssh-to-age ) " " $file "
8282
8383 sops_create_or_update_creation_rules " hosts/shared/secrets/.*" " user_${user} " " $file "
8484 sops_create_or_update_creation_rules " hosts/${HOST} /users/${user} /secrets/.*" " user_${user} " " $file "
@@ -105,8 +105,8 @@ case "${1-help}" in
105105" deploy" )
106106 menu_deploy
107107 ssh_generate_host_ssh_key
108- cmd_git task_generate_host_sops_configuration
109- cmd_git task_generate_hm_sops_configuration
108+ task_generate_host_sops_configuration
109+ task_generate_hm_sops_configuration
110110 task_nixos_install
111111 exit 0
112112 ;;
You can’t perform that action at this time.
0 commit comments