mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Merge pull request #293591 from lf-/jade/fix-luksroot-assert
nixos.luksroot: fix assertion message to name correct option
This commit is contained in:
commit
57f69255d7
@ -982,8 +982,10 @@ in
|
|||||||
}
|
}
|
||||||
{ assertion = config.boot.initrd.systemd.enable -> !luks.fido2Support;
|
{ assertion = config.boot.initrd.systemd.enable -> !luks.fido2Support;
|
||||||
message = ''
|
message = ''
|
||||||
systemd stage 1 does not support configuring FIDO2 unlocking through `boot.initrd.luks.devices.<name>.fido2`.
|
systemd stage 1 does not support configuring FIDO2 unlocking through `boot.initrd.luks.fido2Support`.
|
||||||
Use systemd-cryptenroll(1) to configure FIDO2 support.
|
Use systemd-cryptenroll(1) to configure FIDO2 support, and set
|
||||||
|
`boot.initrd.luks.devices.''${DEVICE}.crypttabExtraOpts` as appropriate per crypttab(5)
|
||||||
|
(e.g. `fido2-device=auto`).
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
# TODO
|
# TODO
|
||||||
|
Loading…
Reference in New Issue
Block a user