From 01ffef86cd759fa7371054a11778e3a092bf55ce Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 2 Apr 2025 10:50:27 +0100 Subject: [PATCH] Fix `pass -c` WSL has a `WAYLAND_DISPLAY` environment variable set that is confusing `pass` and causing it to use `wl-copy` that I don't have installed. `xclip` works fine in WSL, which is used if the `WAYLAND_DISPLAY` is unset. --- home/opdavies/hosts/PW05CH3L.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/opdavies/hosts/PW05CH3L.nix b/home/opdavies/hosts/PW05CH3L.nix index ea1adc9b..1f9d7f86 100644 --- a/home/opdavies/hosts/PW05CH3L.nix +++ b/home/opdavies/hosts/PW05CH3L.nix @@ -11,4 +11,8 @@ tmux.enable = true; tmux-sessionizer.enable = true; }; + + home.sessionVariables = { + WAYLAND_DISPLAY = ""; + }; }