hosts/monitoring-3: use xmpp password from secrets
This commit is contained in:
parent
9982a4d710
commit
b60824e796
@ -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";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
BIN
hosts/monitoring-3/secrets/xmpp-password.age
Normal file
BIN
hosts/monitoring-3/secrets/xmpp-password.age
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user