nixos/hound: add .json extension to the generated config file
It is a JSON file, why not show it?
This commit is contained in:
parent
56bfc5782d
commit
4460c6bfe9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user