Commit 6a2ae594 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by github-actions[bot]
Browse files

nixos/luksroot: make it harder to accidentially break cryptsetup

(cherry picked from commit b8618314)
parent 94832940
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;