summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/grafana.nix
diff options
context:
space:
mode:
authorOllie Charles <ollie@ocharles.org.uk>2017-11-28 11:25:09 +0000
committerOllie Charles <ollie@ocharles.org.uk>2017-11-28 11:57:35 +0000
commit6ece306812fcbfbb0119e36b6b0765aa5db34a48 (patch)
tree24bcd65c33c040aa3b0acb6e37d2ea68b97af793 /nixos/modules/services/monitoring/grafana.nix
parent7f8bc042cc66682af06f6828bb4762af1e7b75e4 (diff)
downloadnixpkgs-6ece306812fcbfbb0119e36b6b0765aa5db34a48.tar
nixpkgs-6ece306812fcbfbb0119e36b6b0765aa5db34a48.tar.gz
nixpkgs-6ece306812fcbfbb0119e36b6b0765aa5db34a48.tar.bz2
nixpkgs-6ece306812fcbfbb0119e36b6b0765aa5db34a48.tar.lz
nixpkgs-6ece306812fcbfbb0119e36b6b0765aa5db34a48.tar.xz
nixpkgs-6ece306812fcbfbb0119e36b6b0765aa5db34a48.tar.zst
nixpkgs-6ece306812fcbfbb0119e36b6b0765aa5db34a48.zip
nixos/grafana: Fix type of database.type option
If you want to use grafana with PostgreSQL, the type is `postgres`,
not `postgresql`.
Diffstat (limited to 'nixos/modules/services/monitoring/grafana.nix')
-rw-r--r--nixos/modules/services/monitoring/grafana.nix2
1 files changed, 1 insertions, 1 deletions
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 {