bugwarrior: try to add it but it does not work
This commit is contained in:
parent
242747f102
commit
77ce3fb0cd
2 changed files with 26 additions and 0 deletions
|
@ -35,6 +35,9 @@ in {
|
|||
tsak
|
||||
|
||||
python # needed for hooks
|
||||
|
||||
# funktioiert irgendwie nicht
|
||||
# python3Packages.bugwarrior
|
||||
];
|
||||
|
||||
};
|
||||
|
|
|
@ -36,6 +36,29 @@ in {
|
|||
|
||||
home-manager.users.mainUser = {
|
||||
|
||||
home.file.".config/bugwarrior/bugwarriorrc".text = lib.generators.toINI{} {
|
||||
general = {
|
||||
# todo : make this a list of strings and generate a comma separated list (as one string)
|
||||
target = "my-github";
|
||||
};
|
||||
my-github = {
|
||||
service = "github";
|
||||
# todo : make this a attrset
|
||||
"github.login" = "mrVanDalo";
|
||||
"github.token" = "@oracle:eval:${pkgs.pass}/bin/pass development/github/mrVanDalo/bugwarriorAccessToken";
|
||||
"github.username" = "mrVanDalo";
|
||||
|
||||
# Instead of fetching issues and pull requests based on {{username}}’s owned repositories, you may instead get those that {{username}} is involved in. This includes all issues and pull requests where the user is the author, the assignee, mentioned in, or has commented on. To do so, add the following configuration option:
|
||||
"github.involved_issues" = "True";
|
||||
|
||||
# By default, issues from all repos belonging to github.username are included. To turn this off, set:
|
||||
# "github.include_user_repos" = False
|
||||
|
||||
# noisy_repository is the repository you would not like issues created for:
|
||||
#"github.exclude_repos" = noisy_repository
|
||||
};
|
||||
};
|
||||
|
||||
home.file.".zshrc".text = ''
|
||||
# a fix for https://github.com/NixOS/nixpkgs/issues/27587
|
||||
autoload -U compinit && compinit
|
||||
|
|
Loading…
Reference in a new issue