12 lines
259 B
Nix
12 lines
259 B
Nix
{lib, ...}: {
|
|
services.openssh = {
|
|
enable = true;
|
|
settings = {
|
|
PermitRootLogin = "yes";
|
|
KbdInteractiveAuthentication = false;
|
|
PasswordAuthentication = lib.mkForce false;
|
|
PubkeyAuthentication = lib.mkForce true;
|
|
};
|
|
};
|
|
}
|