Add systemd-initrd SSH LUKS unlock module for cyprianspitz #149
Loading…
Reference in a new issue
No description provided.
Delete branch "systemd-initrd-ssh-unlock"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
nixos-modules/initrd-ssh-unlock(qois.initrd-ssh-unlock), implementing remote LUKS unlock over SSH via systemd initrd (per wiki.nixos.org/wiki/Remote_disk_unlocking), superseding the legacy busybox-initrdqois.luks-sshmodule.cyprianspitzto the new module;lindbergkeeps usingqois.luks-sshfor now, so both coexist under distinct option namespaces.command="systemctl default", replacing the oldcryptsetup-askpass-in-.profiletrick (which doesn't exist under systemd stage 1).x-systemd.device-timeout=infinityto cyprianspitz's/and/mnt/datamounts so systemd doesn't time out while an admin is still SSHing in to unlock.command=wrapper (not a full LUKS-encrypted-root scenario).Test plan
nix fmtnix build .#nixosConfigurations.cyprianspitz.config.system.build.toplevelnix build .#checks.x86_64-linux.nixos-modules.entries.vm-test-run-initrd-ssh-unlocknix flake check)