nixos-config/nixos/configs/pepe/taskwarrior-pushover.nix
2021-10-26 05:14:15 +02:00

20 lines
713 B
Nix

{ config, lib, pkgs, ... }:
{
sops.secrets.pushoverApiToken = {};
sops.secrets.pushoverUserKey = {};
sops.secrets.taskwarriorCa = {};
sops.secrets.taskwarriorCertificate = {};
sops.secrets.taskwarriorKey = {};
services.taskwarrior-pushover = {
enable = true;
server = "taskd.ingolf-wagner.de:53589";
pushoverApiTokenFile = config.sops.secrets.pushoverApiToken.path;
pushoverUserKeyFile = config.sops.secrets.pushoverUserKey.path;
caFile = config.sops.secrets.taskwarriorCa.path;
certificateFile = config.sops.secrets.taskwarriorCertificate.path;
keyFile = config.sops.secrets.taskwarriorKey.path;
credentials= "1337/palo/ed0fdbe8-2dc3-408b-84cb-d07d363bccd2";
};
}