From bbf685ac76821f7bd666645686f2a06a884db683 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 31 Dec 2021 13:50:18 +0100 Subject: [PATCH] ssh: use system ssh-askpass when running ssh from Nix --- dotfiles/systemd/misc-x.service | 1 + 1 file changed, 1 insertion(+) diff --git a/dotfiles/systemd/misc-x.service b/dotfiles/systemd/misc-x.service index a0bebc5..2086fdb 100644 --- a/dotfiles/systemd/misc-x.service +++ b/dotfiles/systemd/misc-x.service @@ -4,6 +4,7 @@ PartOf=graphical-session.target After=ssh-agent.service [Service] +Environment=SSH_ASKPASS=/usr/bin/ssh-askpass ExecStart=/usr/bin/xset -b ExecStart=/usr/bin/xsetroot -cursor_name left_ptr ExecStart=%h/.config/i3/bin/ssh-add