nixos/solitary: Pre‐allocate a single hugepage

This commit is contained in:
Mikael Voss 2024-10-11 12:21:35 +02:00
parent d5e69efdbb
commit 4d9d033d4c
No known key found for this signature in database

View file

@ -36,6 +36,10 @@ in {
device = "/dev/vda";
};
boot.kernelParams = [
"hugepagesz=1G" "hugepages=1"
];
boot.kernelPackages = let
inherit (self.packages.x86_64-linux) linux-hardened;
in pkgs.linuxPackagesFor (linux-hardened.override {