2019-08-11 19:53:02 +01:00
|
|
|
{
|
2021-03-08 20:00:02 +00:00
|
|
|
# Make sure that the firewall is enabled, even if it's the default.
|
|
|
|
networking.firewall.enable = true;
|
2019-08-11 19:53:02 +01:00
|
|
|
|
2023-04-25 10:21:07 +10:00
|
|
|
services.openssh = {
|
|
|
|
hostKeys = [
|
2024-07-24 19:05:26 +10:00
|
|
|
{
|
|
|
|
path = "/etc/ssh/ssh_host_ed25519_key";
|
|
|
|
type = "ed25519";
|
|
|
|
}
|
2023-04-25 10:21:07 +10:00
|
|
|
];
|
|
|
|
};
|
2019-08-11 19:53:02 +01:00
|
|
|
}
|