Skip to content

Commit

Permalink
nixos/hound: add .json extension to the generated config file
Browse files Browse the repository at this point in the history
It is a JSON file, why not show it?

(cherry picked from commit 4460c6b)
  • Loading branch information
bjornfor authored and github-actions[bot] committed Jan 29, 2025
1 parent 995c697 commit 9d010c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/search/hound.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let
cfg = config.services.hound;
settingsFormat = pkgs.formats.json { };
houndConfigFile = pkgs.writeTextFile {
name = "hound-config";
name = "hound-config.json";
text = builtins.toJSON cfg.settings;
checkPhase = ''
${cfg.package}/bin/houndd -check-conf -conf $out
Expand Down

0 comments on commit 9d010c7

Please sign in to comment.