From a582b5e7cce1858c014798d1f7de8eef4aca4ecf Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 6 Feb 2024 19:04:12 +0900 Subject: [PATCH] test --- nixos/hosts/nixos-framework/disks.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/hosts/nixos-framework/disks.nix b/nixos/hosts/nixos-framework/disks.nix index 94fc5206..113078c9 100644 --- a/nixos/hosts/nixos-framework/disks.nix +++ b/nixos/hosts/nixos-framework/disks.nix @@ -81,6 +81,10 @@ content = { type = "swap"; resumeDevice = true; # Hibernation + settings = { + keyFile = "/mnt-root/etc/swap.key"; + allowDiscards = true; + }; # content }; # content.ontent };# content } # partition 3 (SWAP)