nixos/openssh: Disable authorised keys in homedir

This commit is contained in:
Mikael Voss 2024-09-12 11:33:05 +02:00
parent 796e94be65
commit 0b1a42ed9d
No known key found for this signature in database

View file

@ -34,6 +34,7 @@ in {
};
services.openssh = {
authorizedKeysInHomedir = false;
hostKeys = lib.mkDefault [
{
path = "/etc/keys/ssh_host_ed25519_key";