diff --git a/machines/Oracle-Cloud/hardware-configuration.nix b/machines/Oracle-Cloud/hardware-configuration.nix index 1bdf77c..c0a44ed 100644 --- a/machines/Oracle-Cloud/hardware-configuration.nix +++ b/machines/Oracle-Cloud/hardware-configuration.nix @@ -9,4 +9,8 @@ fileSystems."/boot" = { device = "/dev/disk/by-uuid/C8C5-C634"; fsType = "vfat"; }; boot.initrd.kernelModules = [ "nvme" ]; fileSystems."/" = { device = "/dev/sda3"; fsType = "xfs"; }; + swapDevices = [ { + device = "/dev/disk/by-partuuid/d4aa8434-9803-45ac-9983-07e10e1409b4"; + randomEncryption.enable = true; + } ]; } \ No newline at end of file