Merge pull request #57557 from matthewbauer/ova-swap

nixos/virtualbox: add swap file
This commit is contained in:
Matthew Bauer
2019-04-19 10:17:36 -04:00
committed by GitHub

View File

@@ -100,6 +100,11 @@ in {
boot.growPartition = true;
boot.loader.grub.device = "/dev/sda";
swap.swapDevices = {
device = "/var/swap";
size = 2048;
};
virtualisation.virtualbox.guest.enable = true;
};