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