Split task between work and home
This commit is contained in:
@ -57,7 +57,7 @@
|
|||||||
modules = [
|
modules = [
|
||||||
./user/profiles/moustachioedBook.nix
|
./user/profiles/moustachioedBook.nix
|
||||||
./common.nix
|
./common.nix
|
||||||
./user/task.nix
|
./user/task_home.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
"pan" = home-manager.lib.homeManagerConfiguration {
|
"pan" = home-manager.lib.homeManagerConfiguration {
|
||||||
|
|||||||
37
nix/user/task_home.nix
Normal file
37
nix/user/task_home.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{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.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
|
||||||
|
];
|
||||||
|
|
||||||
|
home.shellAliases = lib.mkMerge [ {
|
||||||
|
t = "task";
|
||||||
|
tt = "taskwarrior-tui";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user