Unverified Commit 4c79ccf3 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

nixos/luksroot: make it harder to accidentially break cryptsetup (#355464)

parents 66c076ed b8618314
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;