mtworx: +iodine

This commit is contained in:
Motiejus Jakštys 2024-10-07 19:52:14 -07:00
parent 76d2a2d522
commit 501d701d77
1 changed files with 13 additions and 5 deletions

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,13 +177,20 @@ in
}; };
}; };
services.tlp = { services = {
iodine.clients.fra1-b = {
server = "i.jakstys.lt";
passwordFile = config.age.secrets.iodine-passwd.path;
relay = "1.1.1.1";
};
tlp = {
enable = true; enable = true;
settings = { settings = {
START_CHARGE_THRESH_BAT0 = 95; START_CHARGE_THRESH_BAT0 = 95;
STOP_CHARGE_THRESH_BAT0 = 100; STOP_CHARGE_THRESH_BAT0 = 100;
}; };
}; };
};
users.extraGroups.vboxusers.members = [ "motiejus" ]; users.extraGroups.vboxusers.members = [ "motiejus" ];