services.beesd: use only one thread

This commit is contained in:
陈浩南 2023-09-29 09:38:44 +08:00
parent 91d7ab5b8f
commit 3f54c4256c

View File

@ -14,7 +14,15 @@ inputs:
in mkIf beesd.enable
{
services.beesd.filesystems = listToAttrs (map
(instance: { inherit (instance) name; value.spec = instance.value; })
(instance:
{
inherit (instance) name;
value =
{
spec = instance.value;
extraOptions = [ "--thread-count" "1" ];
};
})
(attrsToList beesd.instances));
systemd.slices.system-beesd.sliceConfig =
{