rearranged modules/

This commit is contained in:
specCon18 2023-04-18 01:29:01 -04:00
parent 0d0acb8280
commit 5c860a8388
9 changed files with 7 additions and 7 deletions

View file

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