NixOS with a systemd initramfs, sshd and LUKS is not fun
So far:
- the virtual console is broken, everything is slightly stretched and limited to 80 characters
- sshd has forgotten the keys I've given it for the config
- misstyping the unlock password prompts a 90 second timeout in which systemd drops you to the emergency shell (which is askpass, to try again)
At least networkd doesn't block the boot for 20 seconds like udhcpcd does. Hopefully some of these things are only a matter of config.
@equinox I'm trying to save 10 second while booting, I thought that was a great idea at 2 in the morning
(yes)
- "console.earlySetup = true" fixes the vconsole
- the misstyping to unlock waiting happens after two failures, I guess that I can type well enough for that, not a fan of that limitation though
Oh ssh login is working, just not at the stage where it initially asks for my disk password. That's... slightly suboptimal
Yea no, I will not try to unfuck _this_. Back to a initrd which tries to be less smart.
Making udhcpc fail instantly and fork back into the background to try to get an address from there with busybox works much faster than systemd getting to the same state asking me for a password
I though that had parallel bringup and stuff