Skip to content

Commit 4c79ccf

Browse files
nixos/luksroot: make it harder to accidentially break cryptsetup (#355464)
2 parents 66c076e + b861831 commit 4c79ccf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nixos/modules/system/boot/luksroot.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,6 +1094,7 @@ in
10941094

10951095
};
10961096
# We do this because we need the udev rules from the package
1097+
services.lvm.enable = true;
10971098
boot.initrd.services.lvm.enable = true;
10981099

10991100
boot.initrd.preFailCommands = mkIf (!config.boot.initrd.systemd.enable) postCommands;

0 commit comments

Comments
 (0)