diff options
author | Domen Kožar <domen@dev.si> | 2014-02-27 14:33:50 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2014-02-27 14:33:50 +0100 |
commit | d6a3cada9ba08a8610068af2ec3d467615932a93 (patch) | |
tree | 7b19ea3f28bd14d0b991f664ccdbf7b0191b351a /nixos/modules/services/databases | |
parent | 9d55a4c513392fb1c6b3625c070cf03ab400c5fd (diff) | |
download | nixpkgs-d6a3cada9ba08a8610068af2ec3d467615932a93.tar nixpkgs-d6a3cada9ba08a8610068af2ec3d467615932a93.tar.gz nixpkgs-d6a3cada9ba08a8610068af2ec3d467615932a93.tar.bz2 nixpkgs-d6a3cada9ba08a8610068af2ec3d467615932a93.tar.lz nixpkgs-d6a3cada9ba08a8610068af2ec3d467615932a93.tar.xz nixpkgs-d6a3cada9ba08a8610068af2ec3d467615932a93.tar.zst nixpkgs-d6a3cada9ba08a8610068af2ec3d467615932a93.zip |
couchdb: stricter types
Diffstat (limited to 'nixos/modules/services/databases')
-rw-r--r-- | nixos/modules/services/databases/couchdb.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nixos/modules/services/databases/couchdb.nix b/nixos/modules/services/databases/couchdb.nix index 334b0ac7729..46f0e5c6ee9 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. |