mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 03:08:25 +01:00
nixos/luksroot: make it harder to accidentially break cryptsetup (#355464)
This commit is contained in:
commit
4c79ccf34d
1 changed files with 1 additions and 0 deletions
|
@ -1094,6 +1094,7 @@ in
|
|||
|
||||
};
|
||||
# We do this because we need the udev rules from the package
|
||||
services.lvm.enable = true;
|
||||
boot.initrd.services.lvm.enable = true;
|
||||
|
||||
boot.initrd.preFailCommands = mkIf (!config.boot.initrd.systemd.enable) postCommands;
|
||||
|
|
Loading…
Reference in a new issue