ssh: use system ssh-askpass when running ssh from Nix

This commit is contained in:
Vincent Bernat 2021-12-31 13:50:18 +01:00
parent 50910e8f74
commit bbf685ac76

View file

@ -4,6 +4,7 @@ PartOf=graphical-session.target
After=ssh-agent.service After=ssh-agent.service
[Service] [Service]
Environment=SSH_ASKPASS=/usr/bin/ssh-askpass
ExecStart=/usr/bin/xset -b ExecStart=/usr/bin/xset -b
ExecStart=/usr/bin/xsetroot -cursor_name left_ptr ExecStart=/usr/bin/xsetroot -cursor_name left_ptr
ExecStart=%h/.config/i3/bin/ssh-add ExecStart=%h/.config/i3/bin/ssh-add