0
0
Fork 0
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:
Felix Singer 2025-04-06 03:53:09 +02:00
parent 9bc7b72398
commit d97277f321

View file

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