nixos/common/remote-access.nix
2023-08-09 15:11:50 +03:00

16 lines
259 B
Nix

{ ... }:
{
services.openssh = {
enable = true;
settings.PasswordAuthentication = false;
banner = ''
Authorized access only!
If you are not authorized to access or use this system, disconnect now!
'';
};
programs.mosh.enable = true;
}