Try bugwarrior
This commit is contained in:
parent
9f8650f399
commit
5121b7de6d
|
@ -1,10 +1,24 @@
|
|||
{ config, lib, pkgs , ... }:
|
||||
with lib;
|
||||
let
|
||||
|
||||
inherit (config.m-0.private) me gitlab;
|
||||
in {
|
||||
options.m-0.update_tasks.enable = mkEnableOption "Update Tasks";
|
||||
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 = {
|
||||
services.update_tasks = {
|
||||
Unit = {
|
||||
|
|
Loading…
Reference in a new issue