According to nix-community/impermanence#250, use of boot.initrd.postDeviceCommands (
|
boot.initrd.postDeviceCommands = lib.mkAfter '' |
) can cause FS corruption when used together with hibernation 😱.
The official https://github.com/nix-community/impermanence README has now switched to using boot.initrd.postResumeCommands instead.