1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat(panoptikon): allow secret configuration, telegram reporter, BTC price alert

This commit is contained in:
2024-03-17 21:42:01 +01:00
parent 04bf10a356
commit f69d5c423c
2 changed files with 28 additions and 0 deletions

View File

@@ -28,6 +28,13 @@
example = "*:0/3";
default = "daily";
};
loadCredential = lib.mkOption {
type = lib.types.listOf lib.types.string;
description = ''
This can be used to pass secrets to the systemd service without adding them to the nix store.
'';
default = [];
};
reporters = lib.mkOption {
type = lib.types.listOf lib.types.path;
description = ''
@@ -104,6 +111,7 @@
WorkingDirectory = "/var/lib/panoptikon";
RestartSec = "60";
Restart = "on-failure";
LoadCredential = watcherOptions.loadCredential;
};
unitConfig = {
StartLimitIntervalSec = "300";