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

This commit is contained in:
Sandro 2024-11-21 18:38:55 +01:00 committed by GitHub
commit 4c79ccf34d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;