1
0
Fork 1
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:
Sandro Jäckel 2024-11-08 01:08:11 +01:00
parent 7cf19f3811
commit d1f7424888
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

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