boot.initrd.network.ssh.authorizedKeys
Authorized keys for the root user on initrd.
You can combine the authorizedKeys and authorizedKeyFiles options.
- Type
list of string- Default
config.users.users.root.openssh.authorizedKeys.keys- Example
[ "ssh-rsa AAAAB3NzaC1yc2etc/etc/etcjwrsh8e596z6J0l7 example@host" "ssh-ed25519 AAAAC3NzaCetcetera/etceteraJZMfk3QPfQ foo@bar" ]- Declared
- <nixpkgs/nixos/modules/system/boot/initrd-ssh.nix>