services.openssh.authorizedKeysFiles

Specify the rules for which files to read on the host.

This is an advanced option. If you're looking to configure user keys, you can generally use users.users._name_.openssh.authorizedKeys.keys or users.users._name_.openssh.authorizedKeys.keyFiles.

These are paths relative to the host root file system or home directories and they are subject to certain token expansion rules. See AuthorizedKeysFile in man sshd_config for details.

Type
list of string
Default
[ ]
Declared
<nixpkgs/nixos/modules/services/networking/ssh/sshd.nix>