snowflake/modules/openssh.nix

19 lines
343 B
Nix
Raw Normal View History

2023-04-26 19:23:23 -04:00
{...}: {
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "yes";
StreamLocalBindUnlink = "yes";
GatewayPorts = "clientspecified";
};
hostKeys = [
{
path = "/etc/ssh/ssh_host_ed25519_key";
type = "ed25519";
}
];
};
}