home | refactor

This commit is contained in:
Don Harper 2024-01-06 14:02:54 -06:00
parent 672d71a83a
commit 73fadb981d
468 changed files with 197 additions and 210 deletions

View file

@ -1,46 +0,0 @@
{...}:
{
systemd.user = {
timers.mbsync = {
Timer = {
OnUnitActiveSec = "5m";
AccuracySec = "1m";
};
Install = {
WantedBy = ["timers.target"];
};
};
services.mbsync = {
Service = {
ExecStart = "/home/don/bin/mbsync";
Environment = "PATH=/run/current-system/sw/bin";
Type = "oneshot";
};
Install = {
WantedBy = [ "mbsync.timer" ];
};
};
services."mbsync-all" = {
Service = {
ExecStart = "/home/don/bin/mbsync gmail";
Environment = "PATH=/run/current-system/sw/bin";
Type = "oneshot";
};
Install = {
WantedBy = ["mbsync-all.timer"];
};
};
timers."mbsync-all" = {
Timer = {
AccuracySec = "1m";
OnUnitActiveSec = "14m";
};
Install = {
WantedBy = ["timers.target"];
};
};
};
}