mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 06:18:52 +08:00
services.beesd: use only one thread
This commit is contained in:
parent
91d7ab5b8f
commit
3f54c4256c
@ -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 =
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user