services.openssh.authorizedKeysFiles

NixOS option

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 in: nixos/modules/services/networking/ssh/sshd.nixView source on NixOS/nixpkgs →