From 5555b70e3026e84dd0e166906eb8ca1e038749c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Tue, 28 Jan 2025 19:47:17 +0100 Subject: [PATCH] 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. --- nixos/tests/hound.nix | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/nixos/tests/hound.nix b/nixos/tests/hound.nix index 75400eca232b..b73ba27bed29 100644 --- a/nixos/tests/hound.nix +++ b/nixos/tests/hound.nix @@ -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 = {