From e41227f26623673524bc45c81c2c8d360a8fa7f2 Mon Sep 17 00:00:00 2001 From: Felix Tenley Date: Thu, 10 Jun 2021 12:01:40 +0200 Subject: [PATCH] docs(rpi4): add sample command for authenticating initrd via ssh --- rpi4.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/rpi4.nix b/rpi4.nix index 1030e34..ffbfa8e 100644 --- a/rpi4.nix +++ b/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") ];