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.
This commit is contained in:
Bjørn Forsman 2025-01-28 19:47:17 +01:00
parent 4460c6bfe9
commit 5555b70e30

View File

@ -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 = {