nixos/common/remote-access.nix

20 lines
316 B
Nix
Raw Normal View History

2023-07-28 15:39:50 +03:00
{ ... }:
{
services.openssh = {
enable = true;
settings.PasswordAuthentication = false;
# Cute banner, right?
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
};
# TODO: I don't use it
2023-07-28 15:39:50 +03:00
programs.mosh.enable = true;
}