2024-02-24 23:51:34 +00:00
|
|
|
{
|
2024-07-01 22:06:05 +00:00
|
|
|
age.identityPaths = ["/etc/ssh/ssh_host_ed25519_key"];
|
2024-02-21 21:08:11 +00:00
|
|
|
|
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
|
|
|
openFirewall = true;
|
|
|
|
hostKeys = [
|
|
|
|
{
|
|
|
|
path = "/etc/ssh/ssh_host_ed25519_key";
|
|
|
|
type = "ed25519";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
settings = {
|
2024-09-15 16:04:44 +00:00
|
|
|
PermitRootLogin = "without-password";
|
2024-02-21 21:08:11 +00:00
|
|
|
PasswordAuthentication = false;
|
|
|
|
};
|
|
|
|
};
|
2024-02-04 20:51:11 +00:00
|
|
|
}
|