Unverified Commit 7861e6ce authored by Ramses's avatar Ramses Committed by GitHub
Browse files

[Backport release-24.11] nixos/luksroot: make it harder to accidentially break cryptsetup (#357950)

parents 89939a8e 6a2ae594
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;