Skip to content
Snippets Groups Projects
tahoe.nix 709 B
Newer Older
  ourpkgs = pkgs.callPackage ../pkgs { };
    storage = { config, pkgs, ourpkgs, ... }: {
        ../modules/packages.nix
        ../modules/tahoe.nix
        package = ourpkgs.privatestorage;
        sections = {
          node = {
            nickname = "storage";
            "web.port" = "tcp:4000:interface=127.0.0.1";
            "tub.port" = "tcp:4001";
            "tub.location" = "tcp:127.0.0.1:4001";
          };
          storage = {
            enabled = true;
          };
        };
      };
    };
  };
  testScript = ourpkgs.lib.testing.makeTestScript {
    testpath = ./test_tahoe.py;
  };