nix-config/users/tacocat/programs/taskwarrior.nix

38 lines
917 B
Nix
Raw Normal View History

2024-01-11 01:46:31 +00:00
{config, ...}: {
age.secrets = {
taskd-ca-cert.file = ../../../secrets/taskd-ca-cert.age;
taskd-aria-cert.file = ../../../secrets/taskd-aria-cert.age;
taskd-aria-key.file = ../../../secrets/taskd-aria-key.age;
};
programs.taskwarrior = {
enable = true;
2023-11-22 03:30:31 +00:00
config = {
2024-01-11 01:46:31 +00:00
taskd = {
server = "aria.cat:53589";
credentials = "myself/aria/e67e2e9f-78af-42c2-9c55-3c59054246c6";
certificate = config.age.secrets.taskd-aria-cert.path;
key = config.age.secrets.taskd-aria-key.path;
ca = config.age.secrets.taskd-ca-cert.path;
2024-01-11 01:46:31 +00:00
};
2023-11-22 03:30:31 +00:00
dateformat = "Y-M-D H:N";
report.list.columns = [
"id"
"entry.age"
"scheduled"
"due"
"description"
"urgency"
];
report.list.labels = [
"ID"
"Age"
"Sched"
"Due"
"Description"
2023-11-23 04:54:46 +00:00
"Urg"
2023-11-22 03:30:31 +00:00
];
};
};
}