From d9ba6308635a71beb4ee0251fd9aa5471a81657d Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 6 Feb 2024 19:38:36 +0900 Subject: [PATCH] test --- nixos/hosts/nixos-framework/disks.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nixos/hosts/nixos-framework/disks.nix b/nixos/hosts/nixos-framework/disks.nix index 94fc5206..ffcc57ca 100644 --- a/nixos/hosts/nixos-framework/disks.nix +++ b/nixos/hosts/nixos-framework/disks.nix @@ -74,10 +74,8 @@ content = { type = "luks"; name = "SWAP"; - settings = { - keyFile = "/mnt-root/etc/swap.key"; - allowDiscards = true; - }; # content + passwordFile = "/mnt-root/etc/swap.key"; + settings.allowDiscards = true; content = { type = "swap"; resumeDevice = true; # Hibernation