feat: added ssh-server

This commit is contained in:
Ranomier 2025-05-08 23:44:32 +02:00
parent 7724f8cc5f
commit 55a252b632
3 changed files with 15 additions and 1 deletions

View file

@ -0,0 +1,20 @@
{pkgs, ...}: {
programs.ssh = {
startAgent = true;
enableAskPassword = true;
#askPassword = "${pkgs.ssh-askpass-fullscreen}/bin/ssh-askpass-fullscreen";
askPassword = "${pkgs.lxqt.lxqt-openssh-askpass}/bin/lxqt-openssh-askpass";
};
environment.sessionVariables = {
SSH_AUTH_SOCK = "$XDG_RUNTIME_DIR/ssh-agent";
};
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;
# programs.gnupg.agent = {
# enable = true;
# enableSSHSupport = true;
# };
}