From d24ec930d54374f9b34c0de5c06e19c48c142d85 Mon Sep 17 00:00:00 2001 From: Acid Bong Date: Thu, 6 Nov 2025 17:37:32 +0200 Subject: [PATCH] nixos/boot.tmp: fix description rendering --- nixos/modules/system/boot/tmp.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nixos/modules/system/boot/tmp.nix b/nixos/modules/system/boot/tmp.nix index f927ba1c9c90..c8286979ff41 100644 --- a/nixos/modules/system/boot/tmp.nix +++ b/nixos/modules/system/boot/tmp.nix @@ -41,10 +41,10 @@ in default = "never"; example = "within_size"; description = '' - 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). + - `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). ''; };