summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--overlays/sshpass-secret.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/overlays/sshpass-secret.nix b/overlays/sshpass-secret.nix
index cfd19afe..1fec5cf3 100644
--- a/overlays/sshpass-secret.nix
+++ b/overlays/sshpass-secret.nix
@@ -16,7 +16,7 @@ final: prev: {
16 [[ "''${arg}" == '--' ]] && break 16 [[ "''${arg}" == '--' ]] && break
17 user=''${arg%@*} 17 user=''${arg%@*}
18 host=''${arg#*@} 18 host=''${arg#*@}
19 exec {fdnum}< <(${final.gnome.libsecret}/bin/secret-tool lookup service sshpass host "''${host}" user "''${user}") 19 exec {fdnum}<<<$(${final.gnome.libsecret}/bin/secret-tool lookup service sshpass host "''${host}" user "''${user}")
20 cmd+=(${final.sshpass}/bin/sshpass -d ''${fdnum} -P "''${user}@''${host}'s password:") 20 cmd+=(${final.sshpass}/bin/sshpass -d ''${fdnum} -P "''${user}@''${host}'s password:")
21 done 21 done
22 22