diff options
Diffstat (limited to 'users/wpcarro/nixos/marcus/default.nix')
-rw-r--r-- | users/wpcarro/nixos/marcus/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/users/wpcarro/nixos/marcus/default.nix b/users/wpcarro/nixos/marcus/default.nix index a84d33ead75b..bcccfdba974f 100644 --- a/users/wpcarro/nixos/marcus/default.nix +++ b/users/wpcarro/nixos/marcus/default.nix @@ -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; |