nixos-config/system/all/on-failure.nix

18 lines
531 B
Nix
Raw Normal View History

2020-03-17 08:00:57 +01:00
{ lib, ... }: {
on-failure = {
url = lib.fileContents <common_secrets/mattermost_sink_url>;
enable = true;
plans = {
tinc_private.name = "tinc.private";
tinc_retiolum.name = "tinc.retiolum";
sshd.name = "sshd";
tor.name = "tor";
dnsmasq.name = "dnsmasq";
backup_on_workhorse.name = "backup.on-workhorse.private";
backup_on_workout.name = "backup.on-workout.private";
backup_on_porani.name = "backup.on-porani.private";
syncthing.name = "syncthing";
};
};
}