diff --git a/pkgs/pinentry-selector.nix b/pkgs/pinentry-selector.nix index 9316d7e..17ed2ae 100644 --- a/pkgs/pinentry-selector.nix +++ b/pkgs/pinentry-selector.nix @@ -8,18 +8,18 @@ pkgs.writeShellApplication { if [ -v XDG_SESSION_TYPE ]; then case $XDG_SESSION_TYPE in tty) - pinentry-tty;; + pinentry-tty $@;; *) - pinentry-gnome3;; + pinentry-gnome3 $@;; esac elif [ -v SSH_CLIENT ] && [ -n "$SSH_CLIENT" ]; then - pinentry-tty + pinentry-tty $@ elif [ -v WAYLAND_DISPLAY ] && [ -n "$WAYLAND_DISPLAY" ]; then - pinentry-gnome3 + pinentry-gnome3 $@ elif [ -v DISPLAY ] && [ -n "$DISPLAY" ]; then - pinentry-gnome3 + pinentry-gnome3 $@ else - pinentry-tty + pinentry-tty $@ fi ''; }