infra/modules/nixos/common/security.nix

11 lines
232 B
Nix
Raw Normal View History

2019-08-11 19:53:02 +01: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
services.openssh = {
hostKeys = [
{ path = "/etc/ssh/ssh_host_ed25519_key"; type = "ed25519"; }
];
};
2019-08-11 19:53:02 +01:00
}