Commit 5555b70e authored by Bjørn Forsman's avatar Bjørn Forsman
Browse files

nixosTests.hound: migrate from 'config' to 'settings'

Fixes this eval warning:

  evaluation warning: The option `services.hound.config' defined in `makeTest parameters' has been changed to `services.hound.settings' that has a different type. Please read `services.hound.settings' documentation and update your configuration accordingly.
parent 4460c6bf
Loading
Loading
Loading
Loading
+9 −11
Original line number Diff line number Diff line
@@ -11,17 +11,15 @@ import ./make-test-python.nix (
      {
        services.hound = {
          enable = true;
          config = ''
            {
              "max-concurrent-indexers": 1,
              "dbpath": "/var/lib/hound/data",
              "repos": {
                "nix": {
                  "url": "file:///var/lib/hound/my-git"
                }
              }
            }
          '';
          settings = {
            "max-concurrent-indexers" = 1;
            "dbpath" = "/var/lib/hound/data";
            "repos" = {
              "nix" = {
                "url" = "file:///var/lib/hound/my-git";
              };
            };
          };
        };

        systemd.services.houndseed = {