nixos-config/nixos/configs/pepe/taskwarrior-pushover.nix

65 lines
1.9 KiB
Nix
Raw Normal View History

2021-10-26 05:14:15 +02:00
{ config, lib, pkgs, ... }:
{
2022-07-18 19:59:15 +02:00
sops.secrets.pushoverApiToken = {
owner = "taskwarrior-pushover";
key = "pushoverApiToken";
};
sops.secrets.pushoverUserKey = {
owner = "taskwarrior-pushover";
key = "pushoverUserKey";
};
sops.secrets.pushoverTaskwarriorCa = {
owner = "taskwarrior-pushover";
key = "taskwarriorCa";
};
sops.secrets.pushoverTaskwarriorCertificate = {
owner = "taskwarrior-pushover";
key = "taskwarriorCertificate";
};
sops.secrets.pushoverTaskwarriorKey = {
owner = "taskwarrior-pushover";
key = "taskwarriorKey";
};
2021-10-26 06:44:32 +02:00
2021-10-26 05:14:15 +02:00
services.taskwarrior-pushover = {
enable = true;
2021-11-01 09:20:42 +01:00
recurrence = "on";
2021-10-26 06:44:32 +02:00
onCalendar = "06:30:00";
2021-10-26 05:14:15 +02:00
server = "taskd.ingolf-wagner.de:53589";
pushoverApiTokenFile = config.sops.secrets.pushoverApiToken.path;
pushoverUserKeyFile = config.sops.secrets.pushoverUserKey.path;
2022-07-18 19:59:15 +02:00
caFile = config.sops.secrets.pushoverTaskwarriorCa.path;
certificateFile = config.sops.secrets.pushoverTaskwarriorCertificate.path;
keyFile = config.sops.secrets.pushoverTaskwarriorKey.path;
2021-11-01 09:20:42 +01:00
credentials = "1337/palo/ed0fdbe8-2dc3-408b-84cb-d07d363bccd2";
2021-10-26 05:14:15 +02:00
};
2022-07-18 19:59:15 +02:00
sops.secrets.autotagTaskwarriorCa = {
owner = "taskwarrior-autotag";
key = "taskwarriorCa";
};
sops.secrets.autotagTaskwarriorCertificate = {
owner = "taskwarrior-autotag";
key = "taskwarriorCertificate";
};
sops.secrets.autotagTaskwarriorKey = {
owner = "taskwarrior-autotag";
key = "taskwarriorKey";
};
services.taskwarrior-autotag = {
enable = true;
onCalendar = "hourly";
server = "taskd.ingolf-wagner.de:53589";
caFile = config.sops.secrets.autotagTaskwarriorCa.path;
certificateFile = config.sops.secrets.autotagTaskwarriorCertificate.path;
keyFile = config.sops.secrets.autotagTaskwarriorKey.path;
credentials = "1337/palo/ed0fdbe8-2dc3-408b-84cb-d07d363bccd2";
};
2021-10-26 05:14:15 +02:00
}