ninurta: wait for LUKS2 passphrase from SSH

This commit is contained in:
Tim Schubert 2023-10-27 23:58:17 +02:00
parent c996f8c153
commit 990a8892c2
Signed by: dadada
SSH key fingerprint: SHA256:bFAjFH3hR8zRBaJjzQDjc3o4jqoq5EZ87l+KXEjxIz0

View file

@ -59,7 +59,16 @@ in
message = "Refusing to store private keys in store";
};
boot.kernelParams = [ "ip=dhcp" ];
boot.kernelParams = [
# Use the in-kernel DHCP client (yes that exists)
"ip=dhcp"
# Wait forever for the filesystem root to show up
"rootflags=x-systemd.device-timeout=0"
# Wait forever to enter the LUKS passphrase via SSH
"rd.luks.options=timeout=0"
];
boot.initrd = {
network = {
enable = true;