bugwarrior: configure terranix only to pull

This commit is contained in:
Ingolf Wagner 2021-09-11 21:56:15 +02:00
parent 1fd8ca8e20
commit 8b2bb68685
Signed by: palo
GPG key ID: 76BF5F1928B9618B
2 changed files with 17 additions and 27 deletions

View file

@ -68,17 +68,19 @@ in {
${pkgs.khal}/bin/ikhal ${pkgs.khal}/bin/ikhal
'') '')
python3Packages.bugwarrior
# bugwarrior # bugwarrior
(let #(let
mypython = let # mypython = let
packageOverrides = self: super: { # packageOverrides = self: super: {
bugwarrior = super.bugwarrior.overridePythonAttrs (old: { # bugwarrior = super.bugwarrior.overridePythonAttrs (old: {
propagatedBuildInputs = old.propagatedBuildInputs # propagatedBuildInputs = old.propagatedBuildInputs
++ [ super.setuptools ]; # ++ [ super.setuptools ];
}); # });
}; # };
in pkgs.python3.override { inherit packageOverrides; }; # in pkgs.python3.override { inherit packageOverrides; };
in mypython.pkgs.bugwarrior) #in mypython.pkgs.bugwarrior)
]; ];

View file

@ -42,11 +42,11 @@ in {
home.file.".config/bugwarrior/bugwarriorrc".text = '' home.file.".config/bugwarrior/bugwarriorrc".text = ''
[general] [general]
targets = my-github,nixos-github targets = terranix
static_fields = priority static_fields = priority
log.level = INFO log.level = INFO
[my-github] [terranix]
service = github service = github
github.login = mrVanDalo github.login = mrVanDalo
github.token = @oracle:eval:${pkgs.pass}/bin/pass development/github/mrVanDalo/bugwarriorAccessToken github.token = @oracle:eval:${pkgs.pass}/bin/pass development/github/mrVanDalo/bugwarriorAccessToken
@ -54,23 +54,11 @@ in {
github.default_priority = github.default_priority =
github.description_template = {{githubtitle}} {{githuburl}} github.description_template = {{githubtitle}} {{githuburl}}
github.add_tags = github github.add_tags = github
github.involved_issues = False github.project_name = terranix
github.exclude_repos = azubi,stepp0r github.involved_issues = True
github.include_user_repos = True github.query = org:terranix is:open
github.include_user_issues = False github.include_user_issues = False
[nixos-github]
service = github
github.login = mrVanDalo
github.token = @oracle:eval:${pkgs.pass}/bin/pass development/github/mrVanDalo/bugwarriorAccessToken
github.username = mrVanDalo
github.default_priority =
github.description_template = {{githubtitle}} {{githuburl}}
github.add_tags = github
github.involved_issues = False
github.include_user_repos = False github.include_user_repos = False
github.include_user_issues = False
github.query = involves:mrVanDalo is:open org:NixOS org:krebs org:xmonad
''; '';
home.file.".zshrc".text = '' home.file.".zshrc".text = ''