diff --git a/nixos/hosts/nixos-framework/disks.nix b/nixos/hosts/nixos-framework/disks.nix index 6eaab09e..94b2d9ea 100644 --- a/nixos/hosts/nixos-framework/disks.nix +++ b/nixos/hosts/nixos-framework/disks.nix @@ -75,9 +75,11 @@ keyFile = "/swap.key"; allowDiscards = true; }; - type = "swap"; - randomEncryption = false; - resumeDevice = true; # Hibernation + content = { + type = "swap"; + randomEncryption = false; + resumeDevice = true; # Hibernation + }; }; } # partition 3 (SWAP) ]; # partitions