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:
commit
c1fd154fb6
|
@ -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;
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue