infra/modules/nixos/common/security.nix
2024-07-24 10:27:26 +00:00

13 lines
254 B
Nix

{
# Make sure that the firewall is enabled, even if it's the default.
networking.firewall.enable = true;
services.openssh = {
hostKeys = [
{
path = "/etc/ssh/ssh_host_ed25519_key";
type = "ed25519";
}
];
};
}