nixos/openssh: Disable authorised keys in homedir
This commit is contained in:
parent
796e94be65
commit
0b1a42ed9d
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ in {
|
|||
};
|
||||
|
||||
services.openssh = {
|
||||
authorizedKeysInHomedir = false;
|
||||
hostKeys = lib.mkDefault [
|
||||
{
|
||||
path = "/etc/keys/ssh_host_ed25519_key";
|
||||
|
|
Loading…
Reference in a new issue