improve sshd and add kitty's terminfo

This commit is contained in:
ChaotiCryptidz 2021-12-28 23:10:59 +00:00
parent efa5b68eb0
commit b67848affc
2 changed files with 15 additions and 2 deletions

View file

@ -0,0 +1,4 @@
{ pkgs, ... }: {
environment.systemPackages = with pkgs;
[ buildPackages.buildPackages.kitty.terminfo ];
}

View file

@ -1,5 +1,14 @@
{ ... }: { { ... }: {
services.openssh.enable = true; services.openssh = {
services.openssh.permitRootLogin = "prohibit-password"; enable = true;
passwordAuthentication = false;
challengeResponseAuthentication = false;
permitRootLogin = "prohibit-password";
kexAlgorithms = [ "curve25519-sha256@libssh.org" ];
extraConfig = ''
StreamLocalBindUnlink yes
LogLevel VERBOSE
'';
};
programs.mosh.enable = true; programs.mosh.enable = true;
} }