all repos — searchix @ 6196d25ad331bdcbd0adc3da6facbcadc9bd3a1e

Search engine for NixOS, nix-darwin, home-manager and NUR users

feat: add check-config command

Alan Pearce
commit

6196d25ad331bdcbd0adc3da6facbcadc9bd3a1e

parent

e1c335c706bbf5dadb1f68dfc2026ab91b7a2508

1 file changed, 1 insertion(+), 0 deletions(-)

changed files
M nix/modules/default.nixnix/modules/default.nix
@@ -252,6 +252,7 @@ inherit (cfg) environment;
serviceConfig = defaultServiceConfig // { + ExecStartPre = "${package}/bin/searchix-web --config ${configFile} check-config"; ExecStart = "${package}/bin/searchix-web --config ${configFile} serve"; } // lib.optionalAttrs (cfg.settings.web.port < 1024) {