configuration/common: use ed25519 host keys for ssh only from now
This commit is contained in:
parent
c46a031b39
commit
8c81af4f7f
@ -61,6 +61,10 @@
|
|||||||
KbdInteractiveAuthentication = false;
|
KbdInteractiveAuthentication = false;
|
||||||
PermitRootLogin = lib.mkDefault "no";
|
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 {
|
nix.gc = lib.mkDefault {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user