From 6ece306812fcbfbb0119e36b6b0765aa5db34a48 Mon Sep 17 00:00:00 2001 From: Ollie Charles Date: Tue, 28 Nov 2017 11:25:09 +0000 Subject: nixos/grafana: Fix type of database.type option If you want to use grafana with PostgreSQL, the type is `postgres`, not `postgresql`. --- nixos/modules/services/monitoring/grafana.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/services') diff --git a/nixos/modules/services/monitoring/grafana.nix b/nixos/modules/services/monitoring/grafana.nix index 4fbacef788f..d48b78ae6d0 100644 --- a/nixos/modules/services/monitoring/grafana.nix +++ b/nixos/modules/services/monitoring/grafana.nix @@ -111,7 +111,7 @@ in { type = mkOption { description = "Database type."; default = "sqlite3"; - type = types.enum ["mysql" "sqlite3" "postgresql"]; + type = types.enum ["mysql" "sqlite3" "postgres"]; }; host = mkOption { -- cgit 1.4.1