diff --git a/flake.nix b/flake.nix index f8507915..b9aeb01d 100644 --- a/flake.nix +++ b/flake.nix @@ -215,11 +215,7 @@ nginx = { enable = true; transparentProxy.externalIp = [ "192.168.82.3" ]; }; misskey = { enable = true; hostname = "xn--qbtm095lrg0bfka60z.chn.moe"; }; misskey-proxy."xn--qbtm095lrg0bfka60z.chn.moe" = {}; - beesd = - { - enable = true; - instances = { root = "/"; boot = { device = "/boot"; hashTableSizeMB = 16; }; }; - }; + beesd = { enable = true; instances.root = { device = "/"; hashTableSizeMB = 2048; }; }; }; bugs = [ @@ -304,15 +300,7 @@ coturn.enable = true; synapse-proxy."synapse.chn.moe".upstream.address = "internal.vps7.chn.moe"; vaultwarden-proxy = { enable = true; upstream.address = "internal.vps7.chn.moe"; }; - beesd = - { - enable = true; - instances = - { - root = { device = "/"; hashTableSizeMB = 32; }; - boot = { device = "/boot"; hashTableSizeMB = 16; }; - }; - }; + beesd = { enable = true; instances.root = { device = "/"; hashTableSizeMB = 32; }; }; }; };}) ]; @@ -375,11 +363,7 @@ vaultwarden.enable = true; vaultwarden-proxy.enable = true; meilisearch.ioLimitDevice = "/dev/mapper/root"; - beesd = - { - enable = true; - instances = { root = "/"; boot = { device = "/boot"; hashTableSizeMB = 16; }; }; - }; + beesd = { enable = true; instances.root = { device = "/"; hashTableSizeMB = 1024; }; }; }; };}) ]; @@ -462,7 +446,6 @@ instances = { root = { device = "/"; hashTableSizeMB = 4096; }; - boot = { device = "/boot"; hashTableSizeMB = 16; }; nix = { device = "/nix"; hashTableSizeMB = 128; }; }; }; diff --git a/modules/services/beesd.nix b/modules/services/beesd.nix index 22d00096..06615ebf 100644 --- a/modules/services/beesd.nix +++ b/modules/services/beesd.nix @@ -11,7 +11,7 @@ inputs: (types.submodule { options = { device = mkOption { type = types.nonEmptyStr; }; - hashTableSizeMB = mkOption { type = types.int; default = 1024; }; + hashTableSizeMB = mkOption { type = types.int; }; };}) ]); default = {};