Set up hibernation-supporting separate encrypted swap partition

Is it possible to set up a separate LUKS partition with Swap inside it (and not use LVM inside the root LUKS partition) and have it be available for hibernation? I found this Arch wiki article about it but I don’t know if it’s possible in NixOS…

Yes, as long as it unlocks at boot and you are not randomly encrypting it on every boot.

1 Like
Hosted by Flying Circus.