From d6a3cada9ba08a8610068af2ec3d467615932a93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Thu, 27 Feb 2014 14:33:50 +0100 Subject: [PATCH] couchdb: stricter types --- nixos/modules/services/databases/couchdb.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nixos/modules/services/databases/couchdb.nix b/nixos/modules/services/databases/couchdb.nix index 334b0ac77297..46f0e5c6ee90 100644 --- a/nixos/modules/services/databases/couchdb.nix +++ b/nixos/modules/services/databases/couchdb.nix @@ -39,7 +39,7 @@ in }; package = mkOption { - type = types.path; + type = types.package; default = pkgs.couchdb; example = literalExample "pkgs.couchdb"; description = '' @@ -65,7 +65,7 @@ in }; pidFile = mkOption { - type = types.string; + type = types.path; default = "/var/run/couchdb/couchdb.pid"; description = '' pid file. @@ -75,7 +75,7 @@ in # couchdb options: http://docs.couchdb.org/en/latest/config/index.html databaseDir = mkOption { - type = types.string; + type = types.path; default = "/var/lib/couchdb"; description = '' Specifies location of CouchDB database files (*.couch named). This @@ -85,7 +85,7 @@ in }; uriFile = mkOption { - type = types.string; + type = types.path; default = "/var/run/couchdb/couchdb.uri"; description = '' This file contains the full URI that can be used to access this @@ -97,7 +97,7 @@ in }; viewIndexDir = mkOption { - type = types.string; + type = types.path; default = "/var/lib/couchdb"; description = '' Specifies location of CouchDB view index files. This location should @@ -123,7 +123,7 @@ in }; logFile = mkOption { - type = types.string; + type = types.path; default = "/var/log/couchdb.log"; description = '' Specifies the location of file for logging output.