From a1cfce2743a9ed35c414db82313d5b68308c26cd Mon Sep 17 00:00:00 2001 From: minco Date: Sun, 30 Nov 2025 21:42:57 +0900 Subject: [PATCH] remove timer --- services/timer.nix | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) 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; + # }; + # }; }