From e5f118dfc0f5d522c8e3b9b6e40891f683905753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Tue, 29 Aug 2023 10:29:34 +0200 Subject: [PATCH] fix: Fix droppie shutdown timer --- flake.nix | 2 +- hosts/droppie/restic-backup.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 27583b6..ef590f6 100644 --- a/flake.nix +++ b/flake.nix @@ -179,7 +179,7 @@ deploy.nodes = digga.lib.mkDeployNodes self.nixosConfigurations { droppie = { - sshUser = "root"; + sshUser = "yule"; }; nougat-2 = { sshUser = "yule"; diff --git a/hosts/droppie/restic-backup.nix b/hosts/droppie/restic-backup.nix index 507eead..ab649ab 100644 --- a/hosts/droppie/restic-backup.nix +++ b/hosts/droppie/restic-backup.nix @@ -42,7 +42,7 @@ in { systemd.timers."shutdown-after-backup" = { enable = true; timerConfig = { - OnCalendar = "3..9:* Etc/UTC"; + OnCalendar = "*-*-* 03..09:30:00 Etc/UTC"; }; wantedBy = ["timers.target"]; partOf = ["shutdown-after-backup.service"];