nixos/solitary: Pre‐allocate single hugepage for Akkoma

This commit is contained in:
Mikael 2024-10-11 13:12:18 +02:00
parent 00fab0858d
commit 6a765ae4ff
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

View file

@ -112,6 +112,12 @@ in {
'';
};
services.akkoma.dist.extraFlags = [
"-MMlp" "on"
"-MMsco" "true"
"-MMscs" "1024"
];
services.akkoma.config = let
elixir = pkgs.formats.elixirConf { };
in with elixir.lib; {