Merge pull request #324565 from Pandapip1/patch-3
nixos/httpd: Use mkEnableOption
This commit is contained in:
commit
7cf6d9246e
@ -538,25 +538,13 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
enableMellon = mkOption {
|
enableMellon = mkEnableOption "the mod_auth_mellon module";
|
||||||
type = types.bool;
|
|
||||||
default = false;
|
|
||||||
description = "Whether to enable the mod_auth_mellon module.";
|
|
||||||
};
|
|
||||||
|
|
||||||
enablePHP = mkOption {
|
enablePHP = mkEnableOption "the PHP module";
|
||||||
type = types.bool;
|
|
||||||
default = false;
|
|
||||||
description = "Whether to enable the PHP module.";
|
|
||||||
};
|
|
||||||
|
|
||||||
phpPackage = mkPackageOption pkgs "php" { };
|
phpPackage = mkPackageOption pkgs "php" { };
|
||||||
|
|
||||||
enablePerl = mkOption {
|
enablePerl = mkEnableOption "the Perl module (mod_perl)";
|
||||||
type = types.bool;
|
|
||||||
default = false;
|
|
||||||
description = "Whether to enable the Perl module (mod_perl).";
|
|
||||||
};
|
|
||||||
|
|
||||||
phpOptions = mkOption {
|
phpOptions = mkOption {
|
||||||
type = types.lines;
|
type = types.lines;
|
||||||
|
Loading…
Reference in New Issue
Block a user