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