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)