2024-01-11 01:46:31 +00:00
|
|
|
{config, ...}: {
|
2024-01-11 04:11:51 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2023-11-12 06:22:05 +00:00
|
|
|
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";
|
2024-01-11 04:11:51 +00:00
|
|
|
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
|
|
|
];
|
|
|
|
};
|
2023-11-12 06:22:05 +00:00
|
|
|
};
|
|
|
|
}
|