12 lines
202 B
Nix
12 lines
202 B
Nix
{
|
|
services.openssh = {
|
|
enable = true;
|
|
ports = [22];
|
|
settings = {
|
|
AllowUsers = ["toothpick" "cnst"];
|
|
PermitRootLogin = "no";
|
|
PasswordAuthentication = false;
|
|
};
|
|
};
|
|
}
|