mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
nixos/httpd: Use mkEnableOption
This commit is contained in:
parent
6bda9db612
commit
dffd5b699d
1 changed files with 3 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue