From 15357dd55d355db328879347dd3e2e00b62dad3f Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 1 Feb 2024 19:51:07 +0900 Subject: [PATCH] test --- nixos/hosts/nixos-framework/disks.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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