diff --git a/configuration/common/default.nix b/configuration/common/default.nix index 21d8fd3..a56a8b9 100644 --- a/configuration/common/default.nix +++ b/configuration/common/default.nix @@ -61,6 +61,10 @@ KbdInteractiveAuthentication = false; PermitRootLogin = lib.mkDefault "no"; }; + services.openssh.hostKeys = lib.mkForce [ + # Only create ed25519 host keys + { type = "ed25519"; path = "/etc/ssh/ssh_host_ed25519_key"; } + ]; nix.gc = lib.mkDefault { automatic = true;