feat: default labels preset for Capytal's workflow
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
{...}: {
|
||||
{inputs, ...}: let
|
||||
catppuccin-base16 = builtins.fetchurl {
|
||||
url = "https://raw.githubusercontent.com/tinted-theming/schemes/spec-0.11/base16/catppuccin-mocha.yaml";
|
||||
sha256 = "1vmw5fqqsg8vsbg6pr44r61pxq1r8kycwd35j3ffmd9s3pxddcvf";
|
||||
};
|
||||
in {
|
||||
imports = [
|
||||
inputs.base16.nixosModule
|
||||
./forgejo
|
||||
./garage.nix
|
||||
];
|
||||
|
||||
scheme = catppuccin-base16;
|
||||
}
|
||||
|
||||
@@ -62,6 +62,106 @@ in {
|
||||
'';
|
||||
home = ./templates/home.tmpl;
|
||||
};
|
||||
options.label."Default" = with config.scheme.withHashtag; {
|
||||
"scope/a11y" = {
|
||||
color = base06;
|
||||
description = "Accessibility issues and improvements";
|
||||
exclusive = true;
|
||||
};
|
||||
"scope/i18n" = {
|
||||
color = base0F;
|
||||
description = "Internationalization issues and improvements";
|
||||
exclusive = true;
|
||||
};
|
||||
"scope/security" = {
|
||||
color = base08;
|
||||
description = "Test suite changes";
|
||||
exclusive = true;
|
||||
};
|
||||
"scope/documentation" = {
|
||||
color = base0E;
|
||||
description = "Documentation changes";
|
||||
exclusive = true;
|
||||
};
|
||||
"scope/testing" = {
|
||||
color = base0E;
|
||||
description = "Test suite changes";
|
||||
exclusive = true;
|
||||
};
|
||||
"kind/enhancement" = {
|
||||
color = base0C;
|
||||
description = "Improvement on existing functionality";
|
||||
exclusive = true;
|
||||
};
|
||||
"kind/bug" = {
|
||||
color = base0D;
|
||||
description = "Something isn't working";
|
||||
exclusive = true;
|
||||
};
|
||||
"kind/feature" = {
|
||||
color = base07;
|
||||
description = "New functionality";
|
||||
exclusive = true;
|
||||
};
|
||||
"priority/low" = {
|
||||
color = base0B;
|
||||
description = "The priority is low";
|
||||
exclusive = true;
|
||||
priority = "low";
|
||||
};
|
||||
"priority/medium" = {
|
||||
color = base0A;
|
||||
description = "The priority is medium";
|
||||
exclusive = true;
|
||||
priority = "medium";
|
||||
};
|
||||
"priority/high" = {
|
||||
color = base09;
|
||||
description = "The priority is high";
|
||||
exclusive = true;
|
||||
priority = "high";
|
||||
};
|
||||
"priority/critical" = {
|
||||
color = base08;
|
||||
description = "The priority is high";
|
||||
exclusive = true;
|
||||
priority = "critical";
|
||||
};
|
||||
"BREAKING-CHANGE" = {
|
||||
color = base05;
|
||||
description = "This change breaks existing functionality";
|
||||
};
|
||||
"status/to-do" = {
|
||||
color = base0B;
|
||||
description = "This is confirmed and needs work";
|
||||
exclusive = true;
|
||||
};
|
||||
"status/in-progress" = {
|
||||
color = base0A;
|
||||
description = "This is being worked on";
|
||||
exclusive = true;
|
||||
};
|
||||
"status/needs-info" = {
|
||||
color = base09;
|
||||
description = "This needs more information to continue";
|
||||
exclusive = true;
|
||||
};
|
||||
"status/blocked" = {
|
||||
color = base08;
|
||||
description = "This is blocked due to something";
|
||||
exclusive = true;
|
||||
};
|
||||
"status/abandoned" = {
|
||||
color = base05;
|
||||
description = "This is in hiatus/abandoned until further notice";
|
||||
exclusive = true;
|
||||
};
|
||||
"status/wont-fix" = {
|
||||
color = base0E;
|
||||
description = "This issue won't be fixed";
|
||||
exclusive = true;
|
||||
};
|
||||
};
|
||||
theme = {
|
||||
"frappurccino" = frappurccino-theme;
|
||||
};
|
||||
@@ -90,6 +190,17 @@ in {
|
||||
DOMAIN = "forgejo.capytal.company";
|
||||
ROOT_URL = "https://${DOMAIN}";
|
||||
};
|
||||
project = {
|
||||
PROJECT_BOARD_BASIC_KANBAN_TYPE = [
|
||||
];
|
||||
};
|
||||
repository = {
|
||||
DEFAULT_REPO_UNITS = [
|
||||
"repo.code"
|
||||
"repo.issues"
|
||||
"repo.pulls"
|
||||
];
|
||||
};
|
||||
admin = {
|
||||
DISABLE_REGULAR_ORG_CREATION = true;
|
||||
USER_DISABLED_FEATURES = "deletion manage_ssh_keys manage_gpg_keys";
|
||||
|
||||
Reference in New Issue
Block a user