File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 88
99 cfg = config . programs . ssh ;
1010
11- askPassword = cfg . askPassword ;
12-
1311 askPasswordWrapper = pkgs . writeScript "ssh-askpass-wrapper"
1412 ''
1513 #! ${ pkgs . runtimeShell } -e
1614 export DISPLAY="$(systemctl --user show-environment | ${ pkgs . gnused } /bin/sed 's/^DISPLAY=\(.*\)/\1/; t; d')"
1715 export WAYLAND_DISPLAY="$(systemctl --user show-environment | ${ pkgs . gnused } /bin/sed 's/^WAYLAND_DISPLAY=\(.*\)/\1/; t; d')"
18- exec ${ askPassword } "$@"
16+ exec ${ cfg . askPassword } "$@"
1917 '' ;
2018
2119 knownHosts = attrValues cfg . knownHosts ;
351349 fi
352350 '' ;
353351
354- environment . variables . SSH_ASKPASS = optionalString cfg . enableAskPassword askPassword ;
352+ environment . variables . SSH_ASKPASS = optionalString cfg . enableAskPassword cfg . askPassword ;
355353
356354 } ;
357355}
You can’t perform that action at this time.
0 commit comments