diff --git a/hosts/monolith/default.nix b/hosts/monolith/default.nix index 74a58eb..be5a54c 100755 --- a/hosts/monolith/default.nix +++ b/hosts/monolith/default.nix @@ -66,6 +66,24 @@ }; }; + systemd = { + services.reboot = { + description = "Reboot the system"; + serviceConfig = { + Type = "oneshot"; + ExecStart = "${pkgs.systemd}/bin/systemctl reboot"; + }; + }; + timers.reboot = { + description = "Reboot the system every two hours"; + wantedBy = [ "timers.target" ]; + timerConfig = { + OnBootSec = "6h"; + Persistent = true; + }; + }; + }; + promptEmoji = "🏰"; time.timeZone = "America/Los_Angeles";