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
add tmpOnTmpfs
feature from #23912
#27189
Conversation
default = false; | ||
description = '' | ||
Whether to mount a tmpfs on <filename>/tmp</filename> during boot. | ||
Setting this to `true` is equivalent to 50% of available memory. For details about valid strings, see `man mount`. |
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.
The 50% you are promising is something that will easily break, if upstream changes something. Either document that you do what upstream does, or implement the 50% yourself by figuring out available physical memory, etc.
A few points:
or even better
but that will require changing |
|
tmpOnTmpfs
feature from https://github.com/NixOS/nixpkgs/issues/23912tmpOnTmpfs
feature from #23912
Should converting |
For the author, reviewers, and committers: this PR was scanned and appears to add a use of the deprecated
|
Doesn't seem to be much interest in this, closing for now, feel free to reopen |
Motivation for this change
wanted this feature already, implemented it now.
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)