Radish alpha
r
rad:z254T5p17bdFPmzfDojsdjo4HjpoZ
Radicle Infrastructure as Code (NixOS, OpenTofu, …)
Radicle
Git
os/mixin/radicle-permissive: Add mixin
Lorenz Leutgeb committed 10 months ago
commit 4c854f56573a5af3785458104a9dd636d442fa18
parent f016c90
1 file changed +32 -0
added os/mixin/radicle-permissive.nix
@@ -0,0 +1,32 @@
+
{
+
  services.radicle.settings = {
+
    web.description = "A public node run by the Radicle team";
+
    node = {
+
      seedingPolicy.default = "allow";
+
      scope = "all";
+
      peers.type = "dynamic";
+
      limits = {
+
        routingMaxSize = 1000;
+
        routingMaxAge = 604800;
+
        gossipMaxAge = 1209600;
+
        fetchConcurrency = 1;
+
        maxOpenFiles = 4096;
+
        rate = {
+
          inbound = {
+
            fillRate = 5.0;
+
            capacity = 1024;
+
          };
+
          outbound = {
+
            fillRate = 10.0;
+
            capacity = 2048;
+
          };
+
        };
+
        connection = {
+
          inbound = 128;
+
          outbound = 16;
+
        };
+
        fetchPackReceive = "500.0 MiB";
+
      };
+
    };
+
  };
+
}