summaryrefslogtreecommitdiff
path: root/overlays/sshpass-secret.nix
diff options
context:
space:
mode:
Diffstat (limited to 'overlays/sshpass-secret.nix')
-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 1fec5cf3..2f3d6169 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.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