From 7a9bcd3dfc676ba3d3426610826a6037dce36959 Mon Sep 17 00:00:00 2001 From: Elec3137 Date: Fri, 20 Feb 2026 20:13:40 -0800 Subject: [PATCH] system: enable tmpfsHugeMemoryPages as advisable this might improve tmpfs performance, and reduce cpu usage. origin: https://github.com/NixOS/nixpkgs/pull/404514 --- system/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/system/default.nix b/system/default.nix index 5ed0dcc..ee003b7 100644 --- a/system/default.nix +++ b/system/default.nix @@ -61,6 +61,7 @@ in boot.tmp = lib.mkDefault { useTmpfs = true; tmpfsSize = "70%"; + tmpfsHugeMemoryPages = "within_size"; }; # run fstrim monthly instead of weekly