mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
Merge pull request #57557 from matthewbauer/ova-swap
nixos/virtualbox: add swap file
This commit is contained in:
commit
c1fd154fb6
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue