1
0

hosts/monitoring-3: use xmpp password from secrets

This commit is contained in:
clerie 2023-05-02 20:27:03 +02:00
parent 9982a4d710
commit b60824e796
2 changed files with 7 additions and 2 deletions

View File

@ -1,9 +1,14 @@
{ pkgs, ... }: { config, pkgs, ... }:
{ {
age.secrets.xmpp-password = {
owner = "solid-xmpp-alarm";
group = "solid-xmpp-alarm";
};
services.solid-xmpp-alarm = { services.solid-xmpp-alarm = {
enable = true; enable = true;
jid = "feuer@fem-net.de"; jid = "feuer@fem-net.de";
passwordFile = "/var/src/secrets/xmpp-alert/password"; passwordFile = config.age.secrets.xmpp-password.path;
receiver = "clerie@fem-net.de"; receiver = "clerie@fem-net.de";
}; };

Binary file not shown.