fcgiwrap module: use enum
This commit is contained in:
parent
8f8184ece1
commit
797d40767d
@ -21,7 +21,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
socketType = mkOption {
|
socketType = mkOption {
|
||||||
type = types.addCheck types.str (t: t == "unix" || t == "tcp" || t == "tcp6");
|
type = types.enum [ "unix" "tcp" "tcp6" ];
|
||||||
default = "unix";
|
default = "unix";
|
||||||
description = "Socket type: 'unix', 'tcp' or 'tcp6'.";
|
description = "Socket type: 'unix', 'tcp' or 'tcp6'.";
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user