mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
nixos/luksroot: make it harder to accidentially break cryptsetup
(cherry picked from commit b861831405
)
This commit is contained in:
parent
94832940e2
commit
6a2ae59456
@ -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 New Issue
Block a user