infra/modules/nixos/common/security.nix
2024-03-09 23:40:07 +00:00

10 lines
232 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"; }
];
};
}