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.growPartition = true;
|
||||||
boot.loader.grub.device = "/dev/sda";
|
boot.loader.grub.device = "/dev/sda";
|
||||||
|
|
||||||
|
swap.swapDevices = {
|
||||||
|
device = "/var/swap";
|
||||||
|
size = 2048;
|
||||||
|
};
|
||||||
|
|
||||||
virtualisation.virtualbox.guest.enable = true;
|
virtualisation.virtualbox.guest.enable = true;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user