mirror of
https://github.com/ivabus/nixos
synced 2024-11-24 09:25:06 +03:00
20 lines
No EOL
316 B
Nix
20 lines
No EOL
316 B
Nix
{ ... }:
|
|
|
|
{
|
|
services.openssh = {
|
|
enable = true;
|
|
settings.PasswordAuthentication = false;
|
|
|
|
# Cute banner, right?
|
|
banner = ''
|
|
|
|
Authorized access only!
|
|
|
|
If you are not authorized to access or use this system, disconnect now!
|
|
|
|
'';
|
|
};
|
|
|
|
# TODO: I don't use it
|
|
programs.mosh.enable = true;
|
|
} |