summary refs log tree commit diff
path: root/nixos/modules/services/web-servers/lighttpd
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-30 11:02:04 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-30 14:57:42 +0100
commit862e3dd977cdd853c3ab3202ab1b73561f8a3ea1 (patch)
tree43e95414e328ac92383bccf41219c30fa9729473 /nixos/modules/services/web-servers/lighttpd
parent162b874469935923dec02cc9a6b5f58b1c8267a8 (diff)
downloadnixlib-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar
nixlib-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.gz
nixlib-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.bz2
nixlib-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.lz
nixlib-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.xz
nixlib-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.zst
nixlib-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.zip
Substitute "types.uniq types.string" -> "types.str"
Diffstat (limited to 'nixos/modules/services/web-servers/lighttpd')
-rw-r--r--nixos/modules/services/web-servers/lighttpd/default.nix2
-rw-r--r--nixos/modules/services/web-servers/lighttpd/gitweb.nix4
2 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/web-servers/lighttpd/default.nix b/nixos/modules/services/web-servers/lighttpd/default.nix
index f9e40fc4b541..4cc34c65d843 100644
--- a/nixos/modules/services/web-servers/lighttpd/default.nix
+++ b/nixos/modules/services/web-servers/lighttpd/default.nix
@@ -102,7 +102,7 @@ in
 
       document-root = mkOption {
         default = "/srv/www";
-        type = types.uniq types.string;
+        type = types.str;
         description = ''
           Document-root of the web server. Must be readable by the "lighttpd" user.
         '';
diff --git a/nixos/modules/services/web-servers/lighttpd/gitweb.nix b/nixos/modules/services/web-servers/lighttpd/gitweb.nix
index d759d8144b64..f02bd4db2645 100644
--- a/nixos/modules/services/web-servers/lighttpd/gitweb.nix
+++ b/nixos/modules/services/web-servers/lighttpd/gitweb.nix
@@ -25,7 +25,7 @@ in
 
     projectroot = mkOption {
       default = "/srv/git";
-      type = types.uniq types.string;
+      type = types.str;
       description = ''
         Path to git projects (bare repositories) that should be served by
         gitweb. Must not end with a slash.
@@ -34,7 +34,7 @@ in
 
     extraConfig = mkOption {
       default = "";
-      type = types.uniq types.string;
+      type = types.str;
       description = ''
         Verbatim configuration text appended to the generated gitweb.conf file.
       '';