nixos/common/remote-access.nix

17 lines
261 B
Nix
Raw Normal View History

2023-07-28 15:39:50 +03:00
{ ... }:
{
services.openssh = {
enable = true;
settings.PasswordAuthentication = false;
# Cute banner, r-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
};
}