mtworx: +iodine

This commit is contained in:
Motiejus Jakštys 2024-10-07 19:52:14 -07:00
parent 76d2a2d522
commit 501d701d77

View File

@ -20,6 +20,7 @@ in
motiejus-work-passwd-hash.file = ../../secrets/motiejus_work_passwd_hash.age; motiejus-work-passwd-hash.file = ../../secrets/motiejus_work_passwd_hash.age;
root-work-passwd-hash.file = ../../secrets/root_work_passwd_hash.age; root-work-passwd-hash.file = ../../secrets/root_work_passwd_hash.age;
sasl-passwd.file = ../../secrets/postfix_sasl_passwd.age; sasl-passwd.file = ../../secrets/postfix_sasl_passwd.age;
iodine-passwd.file = ../../secrets/iodine.age;
syncthing-key.file = ../../secrets/mtworx/syncthing/key.pem.age; syncthing-key.file = ../../secrets/mtworx/syncthing/key.pem.age;
syncthing-cert.file = ../../secrets/mtworx/syncthing/cert.pem.age; syncthing-cert.file = ../../secrets/mtworx/syncthing/cert.pem.age;
@ -176,11 +177,18 @@ in
}; };
}; };
services.tlp = { services = {
enable = true; iodine.clients.fra1-b = {
settings = { server = "i.jakstys.lt";
START_CHARGE_THRESH_BAT0 = 95; passwordFile = config.age.secrets.iodine-passwd.path;
STOP_CHARGE_THRESH_BAT0 = 100; relay = "1.1.1.1";
};
tlp = {
enable = true;
settings = {
START_CHARGE_THRESH_BAT0 = 95;
STOP_CHARGE_THRESH_BAT0 = 100;
};
}; };
}; };