diff --git a/nixos/hosts/nixos-framework/disks.nix b/nixos/hosts/nixos-framework/disks.nix index 113078c9..a42640d5 100644 --- a/nixos/hosts/nixos-framework/disks.nix +++ b/nixos/hosts/nixos-framework/disks.nix @@ -74,17 +74,13 @@ content = { type = "luks"; name = "SWAP"; + content = { + type = "swap"; + resumeDevice = true; # Hibernation settings = { keyFile = "/mnt-root/etc/swap.key"; allowDiscards = true; }; # content - content = { - type = "swap"; - resumeDevice = true; # Hibernation - settings = { - keyFile = "/mnt-root/etc/swap.key"; - allowDiscards = true; - }; # content }; # content.ontent };# content } # partition 3 (SWAP)