11 lines
198 B
Nix
11 lines
198 B
Nix
{ config, pkgs, ... }: {
|
|
# Enable the OpenSSH daemon.
|
|
services.openssh = {
|
|
enable = true;
|
|
settings = {
|
|
PermitRootLogin = "no";
|
|
PasswordAuthentication = false;
|
|
};
|
|
};
|
|
}
|
|
|