From 7a57d2cfec6706ec3c69fe19253e46e33978c475 Mon Sep 17 00:00:00 2001
From: Kabbone <tobias@opel-online.de>
Date: Mon, 13 Jan 2025 17:17:18 +0100
Subject: [PATCH] fix backup service

---
 hosts/desktop/hardware-configuration.nix  | 1 +
 hosts/lifebook/hardware-configuration.nix | 1 +
 2 files changed, 2 insertions(+)

diff --git a/hosts/desktop/hardware-configuration.nix b/hosts/desktop/hardware-configuration.nix
index f7b9ca2..8a27aef 100644
--- a/hosts/desktop/hardware-configuration.nix
+++ b/hosts/desktop/hardware-configuration.nix
@@ -89,6 +89,7 @@
 
   systemd.timers = {
       btrbk-bak = {
+          after = [ "network-online.target" ];
           requires = [ "network-online.target" ];
       };
   };
diff --git a/hosts/lifebook/hardware-configuration.nix b/hosts/lifebook/hardware-configuration.nix
index a22927f..5a8a004 100644
--- a/hosts/lifebook/hardware-configuration.nix
+++ b/hosts/lifebook/hardware-configuration.nix
@@ -112,6 +112,7 @@
   
   systemd.timers = {
       btrbk-bak = {
+          after = [ "network-online.target" ];
           requires = [ "network-online.target" ];
       };
   };