Fix askpass on niri
This commit is contained in:
parent
a860d7a1da
commit
68da83c5e9
|
|
@ -101,7 +101,7 @@ fi
|
||||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||||
SSH_ASKPASS_REQUIRE = "force";
|
SSH_ASKPASS_REQUIRE = "force";
|
||||||
#SSH_ASKPASS = "/run/current-system/sw/bin/lxqt-openssh-askpass";
|
#SSH_ASKPASS = "/run/current-system/sw/bin/lxqt-openssh-askpass";
|
||||||
SSH_ASKPASS = "/run/current-system/sw/bin/pinentry-gnome3";
|
SSH_ASKPASS = "/run/current-system/sw/bin/zenity-askpass";
|
||||||
MOZ_ENABLE_WAYLAND = "1";
|
MOZ_ENABLE_WAYLAND = "1";
|
||||||
# Enable native wayland support for chromium and electron based applications
|
# Enable native wayland support for chromium and electron based applications
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
|
|
|
||||||
|
|
@ -45,8 +45,13 @@ in
|
||||||
lxappearance # Manage GTK Themes
|
lxappearance # Manage GTK Themes
|
||||||
kdePackages.polkit-kde-agent-1 # Polkit Prompt for password prompts etc
|
kdePackages.polkit-kde-agent-1 # Polkit Prompt for password prompts etc
|
||||||
#lxqt.lxqt-openssh-askpass # GUI to query passwords on behalf of SSH agents - Issues compiling
|
#lxqt.lxqt-openssh-askpass # GUI to query passwords on behalf of SSH agents - Issues compiling
|
||||||
pinentry-gnome3
|
|
||||||
zenity # Display custom prompts
|
zenity # Display custom prompts
|
||||||
|
(writeShellScriptBin "zenity-askpass"
|
||||||
|
''
|
||||||
|
zenity --password
|
||||||
|
'')
|
||||||
|
|
||||||
pavucontrol # Audio control
|
pavucontrol # Audio control
|
||||||
pipewire.jack
|
pipewire.jack
|
||||||
|
|
||||||
|
|
@ -61,7 +66,7 @@ in
|
||||||
export _JAVA_AWT_WM_NONREPARENTING="1"
|
export _JAVA_AWT_WM_NONREPARENTING="1"
|
||||||
export SSH_ASKPASS_REQUIRE="force"
|
export SSH_ASKPASS_REQUIRE="force"
|
||||||
# export SSH_ASKPASS="/run/current-system/sw/bin/lxqt-openssh-askpass"
|
# export SSH_ASKPASS="/run/current-system/sw/bin/lxqt-openssh-askpass"
|
||||||
export SSH_ASKPASS="/run/current-system/sw/bin/pinentry-gnome3"
|
export SSH_ASKPASS="/run/current-system/sw/bin/zenity-askpass"
|
||||||
export MOZ_ENABLE_WAYLAND="1"
|
export MOZ_ENABLE_WAYLAND="1"
|
||||||
# Enable native wayland support for chromium and electron based applications
|
# Enable native wayland support for chromium and electron based applications
|
||||||
export NIXOS_OZONE_WL="1"
|
export NIXOS_OZONE_WL="1"
|
||||||
|
|
@ -164,7 +169,7 @@ in
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enableAskPassword = true;
|
enableAskPassword = true;
|
||||||
#askPassword = "/run/current-system/sw/bin/lxqt-openssh-askpass";
|
#askPassword = "/run/current-system/sw/bin/lxqt-openssh-askpass";
|
||||||
askPassword = "/run/current-system/sw/bin/pinentry-gnome3";
|
askPassword = "/run/current-system/sw/bin/zenity-askpass";
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
|
|
@ -177,7 +182,7 @@ in
|
||||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||||
SSH_ASKPASS_REQUIRE = "force";
|
SSH_ASKPASS_REQUIRE = "force";
|
||||||
#SSH_ASKPASS = "/run/current-system/sw/bin/lxqt-openssh-askpass";
|
#SSH_ASKPASS = "/run/current-system/sw/bin/lxqt-openssh-askpass";
|
||||||
SSH_ASKPASS = "/run/current-system/sw/bin/pinentry-gnome3";
|
SSH_ASKPASS = "/run/current-system/sw/bin/zenity-askpass";
|
||||||
MOZ_ENABLE_WAYLAND = "1";
|
MOZ_ENABLE_WAYLAND = "1";
|
||||||
# Enable native wayland support for chromium and electron based applications
|
# Enable native wayland support for chromium and electron based applications
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
|
|
@ -195,7 +200,7 @@ in
|
||||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||||
SSH_ASKPASS_REQUIRE = "force";
|
SSH_ASKPASS_REQUIRE = "force";
|
||||||
#SSH_ASKPASS = lib.mkForce "/run/current-system/sw/bin/lxqt-openssh-askpass";
|
#SSH_ASKPASS = lib.mkForce "/run/current-system/sw/bin/lxqt-openssh-askpass";
|
||||||
SSH_ASKPASS = lib.mkForce "/run/current-system/sw/bin/pinentry-gnome3";
|
SSH_ASKPASS = lib.mkForce "/run/current-system/sw/bin/zenity-askpass";
|
||||||
MOZ_ENABLE_WAYLAND = "1";
|
MOZ_ENABLE_WAYLAND = "1";
|
||||||
# Enable native wayland support for chromium and electron based applications
|
# Enable native wayland support for chromium and electron based applications
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue