diff --git a/services/timer.nix b/services/timer.nix index 9597d47..92c2fdf 100644 --- a/services/timer.nix +++ b/services/timer.nix @@ -1,18 +1,18 @@ { config, pkgs, ... }: { - systemd.services.auto-shutdown = { - description = "Automatic daily shutdown at 9:30 pm"; - serviceConfig = { - Type = "oneshot"; - ExecStart = [ "${pkgs.systemd}/bin/systemctl poweroff" ]; - }; - }; + # systemd.services.auto-shutdown = { + # description = "Automatic daily shutdown at 9:30 pm"; + # serviceConfig = { + # Type = "oneshot"; + # ExecStart = [ "${pkgs.systemd}/bin/systemctl poweroff" ]; + # }; + # }; - systemd.timers.auto-shutdown = { - description = "Timer for daily shutdown at 9:30 pm"; - wantedBy = [ "timers.target" ]; - timerConfig = { - OnCalendar = "21:40"; - Persistent = true; - }; - }; + # systemd.timers.auto-shutdown = { + # description = "Timer for daily shutdown at 9:30 pm"; + # wantedBy = [ "timers.target" ]; + # timerConfig = { + # OnCalendar = "21:40"; + # Persistent = true; + # }; + # }; }