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 = {};