boot.tmp.tmpfsHugeMemoryPages
NixOS option
never - Do not allocate huge memory pages. This is the default. always - Attempt to allocate huge memory page every time a new page is needed. within_size - Only allocate huge memory pages if it will be fully within i_size. Also respect madvise(2) hints. Recommended. advise - Only allocate huge memory pages if requested with madvise(2).
type: one of "never", "always", "within_size", "advise"Default
"never"
Example
declared in: nixos/modules/system/boot/tmp.nixView source on NixOS/nixpkgs →"within_size"