Talk: Hibernation: Difference between revisions
From NixOS Wiki
BTRFS + LUKS works on NixOS 25.11 |
mNo edit summary |
||
| Line 1: | Line 1: | ||
== BTRFS + LUKS works on NixOS 25.11 == | |||
I was able to get this working on my LUKS+BTRFS systems without much difficulty. | I was able to get this working on my LUKS+BTRFS systems without much difficulty. | ||
To get the offset, I needed to use | To get the offset, I needed to use: | ||
<syntaxhighlight lang="shell"> | |||
sudo btrfs inspect-internal map-swapfile -r /var/lib/swapfile | |||
</syntaxhighlight> | |||
For the resume partition, I used the UUID of the btrfs partition, not the LUKS container. | For the resume partition, I used the UUID of the btrfs partition, not the LUKS container. | ||
--[[User:Theunpleasantowl|Theunpleasantowl]] ([[User talk:Theunpleasantowl|talk]]) 23:55, 25 February 2026 (UTC) | |||
Latest revision as of 23:56, 25 February 2026
BTRFS + LUKS works on NixOS 25.11
I was able to get this working on my LUKS+BTRFS systems without much difficulty.
To get the offset, I needed to use:
sudo btrfs inspect-internal map-swapfile -r /var/lib/swapfile
For the resume partition, I used the UUID of the btrfs partition, not the LUKS container.
--Theunpleasantowl (talk) 23:55, 25 February 2026 (UTC)