home | refactor
This commit is contained in:
parent
672d71a83a
commit
73fadb981d
468 changed files with 197 additions and 210 deletions
|
|
@ -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"];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue