mirror of
https://github.com/ivabus/nixos
synced 2024-11-22 08:25:07 +03:00
17 lines
No EOL
261 B
Nix
17 lines
No EOL
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!
|
|
|
|
'';
|
|
};
|
|
} |