ammending the previous with un added files

This commit is contained in:
Steven 2023-03-26 16:45:07 -04:00
parent 7404966c92
commit d0f4af1214
10 changed files with 330 additions and 6 deletions

View file

@ -0,0 +1,19 @@
{ config, pkgs, lib, ... }:
{
services.openssh = lib.mkDefault {
enable = true;
openFirewall = true;
#settings = lib.mkDefault {
passwordAuthentication = false;
permitRootLogin = "no";
kbdInteractiveAuthentication = false;
#};
startWhenNeeded = true;
kexAlgorithms = [ "curve25519-sha256@libssh.org" ];
};
security.pam = lib.mkDefault {
enableSSHAgentAuth = true;
services.sudo.sshAgentAuth = true;
};
}