Hibernation? + battery widget fix for framework 12

This commit is contained in:
Aleksandr Lebedev 2025-07-29 08:45:48 +02:00
parent cc32b7c14f
commit 873a9c562b
4 changed files with 47 additions and 13 deletions

View file

@ -1,4 +1,4 @@
{ device ? throw "Set this to your disk device, e.g. /dev/sda", ... }:
{device ? throw "Set this to your disk device, e.g. /dev/sda", ...}:
# IMPORTANT
# Calculate offset using https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Acquire_swap_file_offset
# AND create this config
@ -10,7 +10,6 @@
# resumeDevice = "/dev/disk/by-label/nixos";
# };
#}
{
disko.devices = {
disk = {