1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00

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
commit c1fd154fb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
};