-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
use overlayfs by default for netboot and iso #35188
Conversation
Does this PR fix the issue with going OOM when running a nixos-install with too many packages pre-configured? |
No. That's hopefully fixed by #34636. |
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.
Does that even work with descriTPion?
Are there any updates on this pull request, please? |
I'm just built an iso with this patch on top of a21c2fa and it is so much faster than regular iso! |
Rebased with all comments addressed, tested manually and with |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/nixos-20-03-feature-freeze/5655/25 |
Other than that this looks great, tested on my mac without problems :) |
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.
Looking good!
use overlayfs by default for netboot and iso (cherry picked from commit 3ab846e)
Closes #32897
Motivation for this change
Faster nix store and less build (permission) failures such as NixOS/nix#1243 or #5829
Mount with this change outputs
We also can't use just
rw-store
as upperdir and separate workdir due to overlayfs restrictions (this seems as only workable configuration).cc @cleverca22 @dezgeg
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)