diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2024-04-09 19:39:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-09 19:39:11 +0200 |
commit | 13cc5799321ebb1636e9df71cf592a239a62e81b (patch) | |
tree | fa12a603c9176f0288a642d4a45eef67919af809 /nixos/modules/services/backup | |
parent | db5b8a90e4c55cce313f64bfc24a2e84678e017d (diff) | |
parent | 44fd320df69d7331ff94d5e6975281b5d41efd26 (diff) |
Merge pull request #301528 from Mic92/borgbackup-fix
nixos/borgbackup: fix network-online.target warning
Diffstat (limited to 'nixos/modules/services/backup')
-rw-r--r-- | nixos/modules/services/backup/borgbackup.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/backup/borgbackup.nix b/nixos/modules/services/backup/borgbackup.nix index ad6194f8262a..7d5714499f3a 100644 --- a/nixos/modules/services/backup/borgbackup.nix +++ b/nixos/modules/services/backup/borgbackup.nix @@ -123,6 +123,7 @@ let }; # if remote-backup wait for network after = optional (cfg.persistentTimer && !isLocalPath cfg.repo) "network-online.target"; + wants = optional (cfg.persistentTimer && !isLocalPath cfg.repo) "network-online.target"; }; # utility function around makeWrapper |