Skip to content

Commit

Permalink
nixosTests.hound: migrate from 'config' to 'settings'
Browse files Browse the repository at this point in the history
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.

(cherry picked from commit 5555b70)
  • Loading branch information
bjornfor authored and github-actions[bot] committed Jan 29, 2025
1 parent 9d010c7 commit 68d104b
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions nixos/tests/hound.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 68d104b

Please sign in to comment.