fcgiwrap module: use enum

wip/yesman
Eric Sagnes 8 years ago
parent 8f8184ece1
commit 797d40767d
  1. 2
      nixos/modules/services/web-servers/fcgiwrap.nix

@ -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…
Cancel
Save