Remote disk unlocking: Difference between revisions
imported>Onny m Onny moved page Remote LUKS Unlocking to Remote disk unlocking: The instruction is now more general and not only for LUKS |
imported>Onny Small enhancement |
||
Line 56: | Line 56: | ||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | {{file|/etc/nixos/configuration.nix|nix|<nowiki> | ||
boot.initrd.systemd = let | boot.initrd.systemd = let | ||
askPass = pkgs. | askPass = pkgs.writeShellScriptBin "bcachefs-askpass" '' | ||
keyctl link @u @s | keyctl link @u @s | ||
mkdir /sysroot | mkdir /sysroot |