flake update

This commit is contained in:
arcnmx 2023-03-17 09:57:19 -07:00
parent b1a3326f37
commit 5edafc2664
2 changed files with 30 additions and 30 deletions

View file

@ -18,15 +18,15 @@ with lib;
services.openssh = {
enable = true;
ports = lib.mkDefault [ 62954 ];
passwordAuthentication = false;
kbdInteractiveAuthentication = false;
permitRootLogin = lib.mkDefault "prohibit-password";
kexAlgorithms = [ "curve25519-sha256@libssh.org" ];
extraConfig = ''
PubkeyAcceptedAlgorithms +ssh-rsa
StreamLocalBindUnlink yes
LogLevel VERBOSE
'';
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
PermitRootLogin = lib.mkDefault "prohibit-password";
KexAlgorithms = [ "curve25519-sha256@libssh.org" ];
PubkeyAcceptedAlgorithms = "+ssh-rsa";
StreamLocalBindUnlink = "yes";
LogLevel = "VERBOSE";
};
};
programs.mosh.enable = true;