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

29 lines
798 B
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.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;
2022-07-23 13:22:23 +02:00
recurrence = "on";
2022-07-18 19:59:15 +02:00
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;
2022-09-02 12:48:37 +02:00
credentials = "1337/palo/ad40dce8-4b38-4011-b032-60a91b6f22cd";
2022-07-18 19:59:15 +02:00
};
2021-10-26 05:14:15 +02:00
}