docs(rpi4): add sample command for authenticating initrd via ssh
This commit is contained in:
parent
7a3ae63f43
commit
e41227f266
1 changed files with 1 additions and 0 deletions
1
rpi4.nix
1
rpi4.nix
|
@ -79,6 +79,7 @@ with builtins; {
|
|||
permitRootLogin = "no";
|
||||
};
|
||||
|
||||
# ssh root@hostname "echo "$(read -s pass; echo \'"$pass"\')" > /crypt-ramfs/passphrase"
|
||||
boot.initrd.network.ssh = {
|
||||
enable = true;
|
||||
authorizedKeys = [ (readFile "./key") ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue