feat(wpcarro/marcus): Schedule daily reboots

Every day at 3AM reboot marcus.

Change-Id: Ia076b937a110039077add13360bd4fac3d7aa9d2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5147
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
This commit is contained in:
William Carroll 2022-01-31 13:56:58 -08:00 committed by clbot
parent b7de629e05
commit 10de2798a0

View file

@ -37,6 +37,15 @@ in
interfaces.wlp0s20f3.useDHCP = true;
};
# Schedule daily reboots.
systemd.timers.auto-reboot = {
wantedBy = [ "timers.target" ];
timerConfig = {
OnCalendar = "*-*-* 03:00:00";
Unit = "reboot.target";
};
};
services = wpcarro.common.services // {
tzupdate.enable = true;