diff --git a/system/smolder/boot-config.nix b/system/smolder/boot-config.nix index 8ce9f5c..39e156c 100644 --- a/system/smolder/boot-config.nix +++ b/system/smolder/boot-config.nix @@ -25,4 +25,14 @@ in kernelPackages = pkgs.linuxPackagesFor kernel; tmp.cleanOnBoot = true; }; + + swapDevices = [ + { + device = "/dev/disk/by-partuuid/bf3edb8a-e33d-46d7-a916-6d9649621745"; + randomEncryption = { + enable = true; + allowDiscards = true; + }; + } + ]; }