This commit is contained in:
iFargle 2024-02-06 20:54:16 +09:00
parent 3391330bb1
commit 5c759e5f54

View file

@ -6,7 +6,7 @@
services.btrfs.autoScrub.enable = true; services.btrfs.autoScrub.enable = true;
services.btrfs.autoScrub.interval = "weekly"; services.btrfs.autoScrub.interval = "weekly";
boot.resumeDevice = "/dev/disk/by-partlabel/ROOT"; boot.resumeDevice = "/dev/mapper/ROOT";
# boot.kernelParams = [ "resume_offset=[offset]" ]; # boot.kernelParams = [ "resume_offset=[offset]" ];
# https://sawyershepherd.org/post/hibernating-to-an-encrypted-swapfile-on-btrfs-with-nixos/ # https://sawyershepherd.org/post/hibernating-to-an-encrypted-swapfile-on-btrfs-with-nixos/