summary refs log tree commit diff
path: root/nixos/modules/services/databases/couchdb.nix
diff options
context:
space:
mode:
authorSilvan Mosberger <infinisil@icloud.com>2019-08-08 22:48:27 +0200
committerSilvan Mosberger <infinisil@icloud.com>2019-08-31 18:19:00 +0200
commit478e7184f88db1364cc75107036f7c4decc0cc41 (patch)
tree5ff3d3a18e3aef9af4333c392a94751333754270 /nixos/modules/services/databases/couchdb.nix
parent69d58ee24506e2b3b5aff347ae3b0791110340ec (diff)
downloadnixpkgs-478e7184f88db1364cc75107036f7c4decc0cc41.tar
nixpkgs-478e7184f88db1364cc75107036f7c4decc0cc41.tar.gz
nixpkgs-478e7184f88db1364cc75107036f7c4decc0cc41.tar.bz2
nixpkgs-478e7184f88db1364cc75107036f7c4decc0cc41.tar.lz
nixpkgs-478e7184f88db1364cc75107036f7c4decc0cc41.tar.xz
nixpkgs-478e7184f88db1364cc75107036f7c4decc0cc41.tar.zst
nixpkgs-478e7184f88db1364cc75107036f7c4decc0cc41.zip
nixos/modules: Remove all usages of types.string
And replace them with a more appropriate type

Also fix up some minor module problems along the way
Diffstat (limited to 'nixos/modules/services/databases/couchdb.nix')
-rw-r--r--nixos/modules/services/databases/couchdb.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/databases/couchdb.nix b/nixos/modules/services/databases/couchdb.nix
index 77e404116c8..53224db1d89 100644
--- a/nixos/modules/services/databases/couchdb.nix
+++ b/nixos/modules/services/databases/couchdb.nix
@@ -56,7 +56,7 @@ in {
 
 
       user = mkOption {
-        type = types.string;
+        type = types.str;
         default = "couchdb";
         description = ''
           User account under which couchdb runs.
@@ -64,7 +64,7 @@ in {
       };
 
       group = mkOption {
-        type = types.string;
+        type = types.str;
         default = "couchdb";
         description = ''
           Group account under which couchdb runs.
@@ -106,7 +106,7 @@ in {
       };
 
       bindAddress = mkOption {
-        type = types.string;
+        type = types.str;
         default = "127.0.0.1";
         description = ''
           Defines the IP address by which CouchDB will be accessible.
@@ -138,7 +138,7 @@ in {
       };
 
       configFile = mkOption {
-        type = types.string;
+        type = types.path;
         description = ''
           Configuration file for persisting runtime changes. File
           needs to be readable and writable from couchdb user/group.