mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
[Backport release-26.05] nixos/luksroot: Clarify preLVM with systemd stage 1 (#533451)
This commit is contained in:
commit
5e68204a3c
1 changed files with 3 additions and 1 deletions
|
|
@ -1100,7 +1100,9 @@ in
|
|||
}
|
||||
{
|
||||
assertion = config.boot.initrd.systemd.enable -> all (dev: dev.preLVM) (attrValues luks.devices);
|
||||
message = "boot.initrd.luks.devices.<name>.preLVM is not used by systemd stage 1.";
|
||||
message = ''
|
||||
boot.initrd.luks.devices.<name>.preLVM has no effect with systemd stage 1. It can be safely removed from your configuration, and systemd will discover LVM devices automatically at runtime, whether they come before or after LUKS. The preLVM option will be removed in 26.11 along with scripted stage 1.
|
||||
'';
|
||||
}
|
||||
{
|
||||
assertion =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue