diff options
author | Kazutoshi Noguchi <noguchi.kazutosi+Az0Gjft4@gmail.com> | 2022-10-11 00:15:49 +0900 |
---|---|---|
committer | Kazutoshi Noguchi <noguchi.kazutosi+Az0Gjft4@gmail.com> | 2022-10-11 00:15:49 +0900 |
commit | 67246fbffa8eef29eec444ad73e3963fde6e0f12 (patch) | |
tree | 4fec54a5eb3583fd2abeb46c0ed4467c46619633 /nixos | |
parent | 44a54140c09ea5e981cf57be14c649be68781b98 (diff) |
nixos/ssh: pass WAYLAND_DISPLAY to ssh-askpass
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/programs/ssh.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/programs/ssh.nix b/nixos/modules/programs/ssh.nix index 865c0becdbcf..36b724e04bde 100644 --- a/nixos/modules/programs/ssh.nix +++ b/nixos/modules/programs/ssh.nix @@ -14,6 +14,7 @@ let '' #! ${pkgs.runtimeShell} -e export DISPLAY="$(systemctl --user show-environment | ${pkgs.gnused}/bin/sed 's/^DISPLAY=\(.*\)/\1/; t; d')" + export WAYLAND_DISPLAY="$(systemctl --user show-environment | ${pkgs.gnused}/bin/sed 's/^WAYLAND_DISPLAY=\(.*\)/\1/; t; d')" exec ${askPassword} "$@" ''; |