diff --git a/nixos/hosts/nixos-framework/disks.nix b/nixos/hosts/nixos-framework/disks.nix index 3f4e531c..1f9f5cfe 100644 --- a/nixos/hosts/nixos-framework/disks.nix +++ b/nixos/hosts/nixos-framework/disks.nix @@ -6,7 +6,7 @@ services.btrfs.autoScrub.enable = true; services.btrfs.autoScrub.interval = "weekly"; - boot.resumeDevice = "/dev/disk/by-partlabel/ROOT"; + boot.resumeDevice = "/dev/mapper/ROOT"; # boot.kernelParams = [ "resume_offset=[offset]" ]; # https://sawyershepherd.org/post/hibernating-to-an-encrypted-swapfile-on-btrfs-with-nixos/