add taskwarrior autotag

This commit is contained in:
Ingolf Wagner 2023-11-18 12:51:14 +01:00
parent a0f54376ab
commit e7edad891f
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
3 changed files with 40 additions and 3 deletions

View file

@ -22,11 +22,11 @@
#./mail-fetcher.nix
#./borg.nix
#./taskwarrior-pushover.nix
./taskwarrior-autotag.nix
./media-share.nix
./media-audiobookshelf.nix
./media-tdarr.nix
#./media-tdarr.nix
./media-jellyfin.nix
./media-youtube.nix
./media-castget.nix

View file

@ -0,0 +1,28 @@
{ config, lib, pkgs, ... }:
{
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;
recurrence = "off";
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/ad40dce8-4b38-4011-b032-60a91b6f22cd";
};
}

View file

@ -8,9 +8,18 @@
};
# https://github.com/influxdata/telegraf/tree/master/plugins/inputs < all them plugins
inputs = {
cpu = { };
cpu = {
percpu = true;
totalcpu = true;
};
disk = { };
diskio = { };
kernel = { };
mem = { };
processes = { };
netstat = { };
net = { };
system = { };
systemd_units = { };
nginx.urls = [ "http://localhost/nginx_status" ];
};