1
0
Fork 0
puter/common/ssh.nix

19 lines
356 B
Nix
Raw Normal View History

2024-02-25 00:51:34 +01:00
{
2025-05-11 22:49:04 +02:00
age.identityPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
2024-02-21 22:08:11 +01:00
services.openssh = {
enable = true;
openFirewall = true;
hostKeys = [
{
path = "/etc/ssh/ssh_host_ed25519_key";
type = "ed25519";
}
];
settings = {
2024-09-15 18:37:47 +02:00
PermitRootLogin = "without-password";
2024-02-21 22:08:11 +01:00
PasswordAuthentication = false;
};
};
2024-02-04 21:51:11 +01:00
}