what all things u need to declare in the config for a working hibernation?
i am using a 16 gb swap partition and have declared these..
boot.initrd.systemd.enable = true;
boot.resumeDevice = “/dev/disk/by-uuid/fb9d2b42-a5f3-4939-b71a-24e701bdeed5”;
swapDevices = [
{ device = “/dev/disk/by-uuid/fb9d2b42-a5f3-4939-b71a-24e701bdeed5”; }];
but after resume the screen is frozen for 1 min or more than that
You shouldn’t need to set anything except swapDevices. Since 26.05, boot.initrd.systemd.enable = true; is the default, and boot.resumeDevice is redundant when that’s enabled on EFI systems (systemd detects the resume device at runtime and saves that info in an EFI var). Anything that doesn’t work from there is probably some bug in some upstream component.
1 Like
What GPU are you using (if any)? IIRC nvidia might need some of the video settings tweaked.
1 Like