From 2e4f1d5dfa740561989df342e62114cb8c3065d3 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 19 Oct 2024 08:51:01 +0200 Subject: [PATCH] backup: run bak only after network --- hosts/lifebook/hardware-configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/lifebook/hardware-configuration.nix b/hosts/lifebook/hardware-configuration.nix index 15ba7a9..109ec44 100644 --- a/hosts/lifebook/hardware-configuration.nix +++ b/hosts/lifebook/hardware-configuration.nix @@ -114,6 +114,12 @@ }; }; }; + + systemd.services = { + btrbk-bak = { + after = [ "network.target" ]; + }; + }; fileSystems."/" = { device = "/dev/mapper/crypted";