Try bugwarrior
This commit is contained in:
parent
9f8650f399
commit
5121b7de6d
1 changed files with 15 additions and 1 deletions
|
@ -1,10 +1,24 @@
|
||||||
{ config, lib, pkgs , ... }:
|
{ config, lib, pkgs , ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
|
inherit (config.m-0.private) me gitlab;
|
||||||
in {
|
in {
|
||||||
options.m-0.update_tasks.enable = mkEnableOption "Update Tasks";
|
options.m-0.update_tasks.enable = mkEnableOption "Update Tasks";
|
||||||
config = mkIf config.m-0.update_tasks.enable {
|
config = mkIf config.m-0.update_tasks.enable {
|
||||||
|
home.file.".config/bugwarrior/bugwarriorrc".text = ''
|
||||||
|
[general]
|
||||||
|
targets=cda_gitlab
|
||||||
|
|
||||||
|
[cda_gitlab]
|
||||||
|
service=gitlab
|
||||||
|
gitlab.password=@oracle:eval:pass de/darmstadt/ccc/ldap
|
||||||
|
gitlab.login=${me.user}
|
||||||
|
gitlab.host=${gitlab.host}
|
||||||
|
gitlab.token=${gitlab.token}
|
||||||
|
gitlab.only_if_assigned=${me.user}
|
||||||
|
gitlab.only_if_author=${me.user}
|
||||||
|
'';
|
||||||
|
home.packages = [ pkgs.python2Packages.bugwarrior ];
|
||||||
systemd.user = {
|
systemd.user = {
|
||||||
services.update_tasks = {
|
services.update_tasks = {
|
||||||
Unit = {
|
Unit = {
|
||||||
|
|
Loading…
Reference in a new issue