improve sshd and add kitty's terminfo
This commit is contained in:
parent
efa5b68eb0
commit
b67848affc
4
profiles/base/terminals.nix
Normal file
4
profiles/base/terminals.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
{ pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs;
|
||||
[ buildPackages.buildPackages.kitty.terminfo ];
|
||||
}
|
|
@ -1,5 +1,14 @@
|
|||
{ ... }: {
|
||||
services.openssh.enable = true;
|
||||
services.openssh.permitRootLogin = "prohibit-password";
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
passwordAuthentication = false;
|
||||
challengeResponseAuthentication = false;
|
||||
permitRootLogin = "prohibit-password";
|
||||
kexAlgorithms = [ "curve25519-sha256@libssh.org" ];
|
||||
extraConfig = ''
|
||||
StreamLocalBindUnlink yes
|
||||
LogLevel VERBOSE
|
||||
'';
|
||||
};
|
||||
programs.mosh.enable = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue