boot.initrd.network.ssh.enable
NixOS option
Start SSH service during initrd boot. It can be used to debug failing boot on a remote server, enter pasphrase for an encrypted partition etc. Service is killed when stage-1 boot is finished. The sshd configuration is largely inherited from services.openssh.
type: booleanDefault
declared in: nixos/modules/system/boot/initrd-ssh.nixView source on NixOS/nixpkgs →false