init commit so flakes work

This commit is contained in:
arouzing 2023-01-31 18:11:19 -05:00
commit 076814d4b9
6 changed files with 106 additions and 0 deletions

View file

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