nixos/httpd: Use mkEnableOption

This commit is contained in:
Gavin John 2024-07-04 13:44:24 +00:00 committed by GitHub
parent 6bda9db612
commit dffd5b699d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -538,25 +538,13 @@ in
'';
};
enableMellon = mkOption {
type = types.bool;
default = false;
description = "Whether to enable the mod_auth_mellon module.";
};
enableMellon = mkEnableOption "the mod_auth_mellon module";
enablePHP = mkOption {
type = types.bool;
default = false;
description = "Whether to enable the PHP module.";
};
enablePHP = mkEnableOption "the PHP module";
phpPackage = mkPackageOption pkgs "php" { };
enablePerl = mkOption {
type = types.bool;
default = false;
description = "Whether to enable the Perl module (mod_perl).";
};
enablePerl = mkEnableOption "the Perl module (mod_perl)";
phpOptions = mkOption {
type = types.lines;