mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
nixos/grafana: fix evaluation when no settings is defined
Before it would fail on line 11 where we check if postgres is used with an error that the undefined option settings was accessed.
This commit is contained in:
parent
7cf19f3811
commit
d1f7424888
|
@ -255,6 +255,7 @@ in
|
|||
Grafana settings. See <https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/>
|
||||
for available options. INI format is used.
|
||||
'';
|
||||
default = { };
|
||||
type = types.submodule {
|
||||
freeformType = settingsFormatIni.type;
|
||||
|
||||
|
|
Loading…
Reference in a new issue