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