New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/virtualbox: add swap file #57557
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
though I think 2Gb should be enough. Any reasoning on why 4G?
I agree, and believe it's generally better to give VMs only a small amount of local swap space. |
Puts 2G swap in /var/swap of OVA. This serves as backup when you hit the memory cap for the image. Fixes NixOS#57171 and fixes NixOS#22696
Fixes issue introduced by NixOS#57557
❌ The option 'swap' [...] does not exist.
Hopefully once NixOS/ofborg#342 is merged this will be made more evident, since it also made the See #59945 |
Fixes issue introduced by NixOS#57557
Puts 4G swap in /var/swap of OVA. This serves as backup when you hit
the memory cap for the image.
I need to test this some more to make sure there are no regressions.
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)