Skip to content

Commit

Permalink
chrore: add missing task option descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed Sep 30, 2024
1 parent 6090da4 commit 25c21fa
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions src/modules/tasks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ let
command = config.command;
input = config.input;
};
description = "Internal configuration for the task.";
};
exports = lib.mkOption {
type = types.listOf types.str;
Expand Down Expand Up @@ -92,13 +93,17 @@ let
tasksJSON = (lib.mapAttrsToList (name: value: { inherit name; } // value.config) config.tasks);
in
{
options.tasks = lib.mkOption {
type = types.attrsOf taskType;
};
options = {
tasks = lib.mkOption {
type = types.attrsOf taskType;
description = "A set of tasks.";
};

options.task.config = lib.mkOption {
type = types.package;
internal = true;
task.config = lib.mkOption {
type = types.package;
internal = true;
description = "The generated tasks.json file.";
};
};

config = {
Expand Down

0 comments on commit 25c21fa

Please sign in to comment.