diff options
-rw-r--r-- | Biz/Cloud/hardware.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Biz/Cloud/hardware.nix b/Biz/Cloud/hardware.nix index 8c88cb7..458fd49 100644 --- a/Biz/Cloud/hardware.nix +++ b/Biz/Cloud/hardware.nix @@ -3,4 +3,7 @@ imports = [ <nixpkgs/nixos/modules/profiles/qemu-guest.nix> ]; boot.loader.grub.device = "/dev/vda"; fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; }; + swapDevices = [ + { device = "/swapfile"; } # 4GB + ]; } |