neverest: add clients-pool-size, remove systemd sync service

This commit is contained in:
2026-03-01 19:31:36 +00:00
parent b396a8e575
commit 31b7a25e6e

View File

@@ -53,6 +53,7 @@ in {
type = "password";
cmd = concatStringsSep " " account.passwordCommand;
};
clients-pool-size = 8;
};
folder = {
aliases = {
@@ -67,28 +68,4 @@ in {
};
};
};
systemd.user.services.neverest-sync = {
Unit = {
Description = "Neverest email sync";
};
Service = {
Type = "oneshot";
ExecStart = "${pkgs.neverest}/bin/neverest sync";
};
};
systemd.user.timers.neverest-sync = {
Unit = {
Description = "Neverest email sync timer";
};
Timer = {
OnBootSec = "1min";
OnUnitActiveSec = "5min";
Persistent = true;
};
Install = {
WantedBy = ["timers.target"];
};
};
}