nixos/common/remote-access.nix
Ivan Bushchik 06d253b189
Aughhthghhhgh
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
2023-08-24 11:06:09 +03:00

17 lines
261 B
Nix

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