Skip to content

Commit 5555b70

Browse files
committed
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.
1 parent 4460c6b commit 5555b70

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

nixos/tests/hound.nix

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,15 @@ import ./make-test-python.nix (
1111
{
1212
services.hound = {
1313
enable = true;
14-
config = ''
15-
{
16-
"max-concurrent-indexers": 1,
17-
"dbpath": "/var/lib/hound/data",
18-
"repos": {
19-
"nix": {
20-
"url": "file:///var/lib/hound/my-git"
21-
}
22-
}
23-
}
24-
'';
14+
settings = {
15+
"max-concurrent-indexers" = 1;
16+
"dbpath" = "/var/lib/hound/data";
17+
"repos" = {
18+
"nix" = {
19+
"url" = "file:///var/lib/hound/my-git";
20+
};
21+
};
22+
};
2523
};
2624

2725
systemd.services.houndseed = {

0 commit comments

Comments
 (0)