mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/redmine: Use lib.mkEnableOption where possible
Signed-off-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
parent
9bc7b72398
commit
d97277f321
1 changed files with 7 additions and 35 deletions
|
@ -259,47 +259,19 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
components = {
|
components = {
|
||||||
subversion = mkOption {
|
subversion = lib.mkEnableOption "Subversion integration.";
|
||||||
type = types.bool;
|
|
||||||
default = false;
|
|
||||||
description = "Subversion integration.";
|
|
||||||
};
|
|
||||||
|
|
||||||
mercurial = mkOption {
|
mercurial = lib.mkEnableOption "Mercurial integration.";
|
||||||
type = types.bool;
|
|
||||||
default = false;
|
|
||||||
description = "Mercurial integration.";
|
|
||||||
};
|
|
||||||
|
|
||||||
git = mkOption {
|
git = lib.mkEnableOption "git integration.";
|
||||||
type = types.bool;
|
|
||||||
default = false;
|
|
||||||
description = "git integration.";
|
|
||||||
};
|
|
||||||
|
|
||||||
cvs = mkOption {
|
cvs = lib.mkEnableOption "cvs integration.";
|
||||||
type = types.bool;
|
|
||||||
default = false;
|
|
||||||
description = "cvs integration.";
|
|
||||||
};
|
|
||||||
|
|
||||||
breezy = mkOption {
|
breezy = lib.mkEnableOption "bazaar integration.";
|
||||||
type = types.bool;
|
|
||||||
default = false;
|
|
||||||
description = "bazaar integration.";
|
|
||||||
};
|
|
||||||
|
|
||||||
imagemagick = mkOption {
|
imagemagick = lib.mkEnableOption "exporting Gant diagrams as PNG.";
|
||||||
type = types.bool;
|
|
||||||
default = false;
|
|
||||||
description = "Allows exporting Gant diagrams as PNG.";
|
|
||||||
};
|
|
||||||
|
|
||||||
ghostscript = mkOption {
|
ghostscript = lib.mkEnableOption "exporting Gant diagrams as PDF.";
|
||||||
type = types.bool;
|
|
||||||
default = false;
|
|
||||||
description = "Allows exporting Gant diagrams as PDF.";
|
|
||||||
};
|
|
||||||
|
|
||||||
minimagick_font_path = mkOption {
|
minimagick_font_path = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue