diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-23 16:57:43 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-23 17:05:27 +0100 |
commit | 9532ab2aaead395f7b97a72ad803cceb4d29f1e9 (patch) | |
tree | c8ca64cd33b9c245a7c7744a7223f822f8fe123e /overlays | |
parent | 93c2272889d661d4d732c8ed989fe907d96660d9 (diff) | |
download | nixos-9532ab2aaead395f7b97a72ad803cceb4d29f1e9.tar nixos-9532ab2aaead395f7b97a72ad803cceb4d29f1e9.tar.gz nixos-9532ab2aaead395f7b97a72ad803cceb4d29f1e9.tar.bz2 nixos-9532ab2aaead395f7b97a72ad803cceb4d29f1e9.tar.xz nixos-9532ab2aaead395f7b97a72ad803cceb4d29f1e9.zip |
bump
Diffstat (limited to 'overlays')
-rw-r--r-- | overlays/sshpass-secret.nix | 2 |
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 | ||