diff --git a/nixos/modules/system/boot/luksroot.nix b/nixos/modules/system/boot/luksroot.nix index 70b455871b4b..c1a5e9c3877d 100644 --- a/nixos/modules/system/boot/luksroot.nix +++ b/nixos/modules/system/boot/luksroot.nix @@ -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;