1
0

configuration/common: use ed25519 host keys for ssh only from now

This commit is contained in:
clerie 2023-09-22 17:06:14 +02:00
parent c46a031b39
commit 8c81af4f7f

View File

@ -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;