nixos/grafana: Fix type of database.type option

If you want to use grafana with PostgreSQL, the type is `postgres`,
not `postgresql`.
This commit is contained in:
Ollie Charles 2017-11-28 11:25:09 +00:00
parent 7f8bc042cc
commit 6ece306812

View File

@ -111,7 +111,7 @@ in {
type = mkOption { type = mkOption {
description = "Database type."; description = "Database type.";
default = "sqlite3"; default = "sqlite3";
type = types.enum ["mysql" "sqlite3" "postgresql"]; type = types.enum ["mysql" "sqlite3" "postgres"];
}; };
host = mkOption { host = mkOption {