fcgiwrap module: use enum
This commit is contained in:
parent
8f8184ece1
commit
797d40767d
|
@ -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'.";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue