From 3bef5b88302207c540ca049c179383664ed5ef03 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 19 Oct 2024 08:47:31 +0200 Subject: [PATCH] backup: run bak only after network --- hosts/nasbackup/hardware-configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/nasbackup/hardware-configuration.nix b/hosts/nasbackup/hardware-configuration.nix index 04cda93..50af416 100644 --- a/hosts/nasbackup/hardware-configuration.nix +++ b/hosts/nasbackup/hardware-configuration.nix @@ -128,6 +128,13 @@ }; }; + systemd.services = { + btrbk-bak = { + after = [ "network.target" ]; + }; + }; + + fileSystems."/" = { device = "/dev/disk/by-label/NIXROOT"; fsType = "btrfs";