nixos/common/remote-access.nix

16 lines
259 B
Nix
Raw Normal View History

2023-07-28 15:39:50 +03:00
{ ... }:
{
services.openssh = {
enable = true;
settings.PasswordAuthentication = false;
2023-08-09 15:11:50 +03:00
banner = ''
Authorized access only!
If you are not authorized to access or use this system, disconnect now!
'';
2023-07-28 15:39:50 +03:00
};
programs.mosh.enable = true;
}