43 lines
1.1 KiB
Nix
43 lines
1.1 KiB
Nix
{config, pkgs, lib, ...}:
|
|
|
|
{
|
|
programs.taskwarrior = {
|
|
enable = true;
|
|
colorTheme = "light-256";
|
|
package = pkgs.taskwarrior3;
|
|
config = {
|
|
weekstart = "monday";
|
|
|
|
uda.priority.values = "H,M,,L";
|
|
urgency.uda.priority.L.coefficient = -0.5;
|
|
urgency.user.tag.deferred.coefficient = -15.0;
|
|
urgency.user.tag.cust.coefficient = 5.0;
|
|
|
|
context.today.read = "-deferred and (prio:H or +next)";
|
|
context.today.write = "prio:H or +next";
|
|
context.deferred.read = "+deferred";
|
|
context.deferred.write = "+deferred";
|
|
context.customer.read = "+cust";
|
|
context.customer.write = "+cust";
|
|
context.low_energy.read = "+low";
|
|
context.low_energy.write = "+low";
|
|
|
|
uda.taskwarrior-tui.task-report.show-info = false;
|
|
uda.taskwarrior-tui.selection.reverse = "yes";
|
|
};
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
|
taskwarrior-tui
|
|
timewarrior
|
|
];
|
|
|
|
home.shellAliases = lib.mkMerge [ {
|
|
t = "task";
|
|
tt = "taskwarrior-tui";
|
|
tw = "timew";
|
|
tws = "timew summary :ids";
|
|
}
|
|
];
|
|
}
|