Merge pull request #324565 from Pandapip1/patch-3

nixos/httpd: Use mkEnableOption
This commit is contained in:
Aleksana 2024-07-04 23:45:44 +08:00 committed by GitHub
commit 7cf6d9246e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;