Remote disk unlocking: Difference between revisions

Onny (talk | contribs)
→‎Bcachefs unlocking: Fix code syntax
Onny (talk | contribs)
→‎Bcachefs unlocking: Clarify bcachefs remote disk unlocking setup
Line 52: Line 52:
=== Bcachefs unlocking ===
=== Bcachefs unlocking ===


Unlocking encrypted Bcachefs root filesystems is [https://github.com/NixOS/nixpkgs/issues/291529 not yet supported]. As a workaround, following script can be used as SSH shell, to unlock the disk <code>/dev/vda2</code>.
Unlocking encrypted Bcachefs root filesystems is [https://github.com/NixOS/nixpkgs/issues/291529 not yet supported]. As a workaround, following script, in combination with the setup above, can be used as SSH shell, to unlock the disk <code>/dev/vda2</code>.


{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>