nixos/hound: add .json extension to the generated config file

It is a JSON file, why not show it?

(cherry picked from commit 4460c6bfe9)
This commit is contained in:
Bjørn Forsman 2025-01-28 19:42:18 +01:00
parent f54ca85ca8
commit ea1349b6a7

View file

@ -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