From 8375ce0d13ac0b56d20a6b93ea92bdd3158a8716 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Fri, 20 Jan 2023 20:52:36 +0100 Subject: [PATCH] desktop: add lxqt.openssh-askpass --- hosts/configuration_desktop.nix | 2 +- modules/desktop/sway/default.nix | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/configuration_desktop.nix b/hosts/configuration_desktop.nix index fe9d8e8..a2fc6f4 100644 --- a/hosts/configuration_desktop.nix +++ b/hosts/configuration_desktop.nix @@ -132,7 +132,7 @@ # extraConfig = '' # HostKeyAlgorithms +ssh-rsa # ''; # Temporary extra config so ssh will work in guacamole - passwordAuthentication = false; + settings.passwordAuthentication = false; }; pcscd.enable = true; yubikey-agent.enable = true; diff --git a/modules/desktop/sway/default.nix b/modules/desktop/sway/default.nix index 5146b2f..404d4dd 100644 --- a/modules/desktop/sway/default.nix +++ b/modules/desktop/sway/default.nix @@ -34,6 +34,7 @@ slurp grim bemenu + lxqt.lxqt-openssh-askpass ]; }; @@ -56,6 +57,8 @@ #export LIBCL_ALWAYS_SOFTWARE="1"; # For applications in VM like alacritty to work #export WLR_NO_HARDWARE_CURSORS="1"; # For cursor in VM ''; + ssh.enableAskPassword = true; + ssh.askPassword = "${pkgs.lxqt.lxqt-openssh-askpass}/bin/lxqt-openssh-askpass"; }; security.pam.services.swaylock = {};