fcgiwrap module: use enum

This commit is contained in:
Eric Sagnes 2016-11-04 13:04:52 +09:00
parent 8f8184ece1
commit 797d40767d
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ in {
};
socketType = mkOption {
type = types.addCheck types.str (t: t == "unix" || t == "tcp" || t == "tcp6");
type = types.enum [ "unix" "tcp" "tcp6" ];
default = "unix";
description = "Socket type: 'unix', 'tcp' or 'tcp6'.";
};