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:
parent
4460c6bfe9
commit
5555b70e30
@ -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 = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user