Merge pull request #301528 from Mic92/borgbackup-fix

nixos/borgbackup: fix network-online.target warning
This commit is contained in:
Jörg Thalheim 2024-04-09 19:39:11 +02:00 committed by GitHub
commit 13cc579932
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -123,6 +123,7 @@ let
}; };
# if remote-backup wait for network # if remote-backup wait for network
after = optional (cfg.persistentTimer && !isLocalPath cfg.repo) "network-online.target"; after = optional (cfg.persistentTimer && !isLocalPath cfg.repo) "network-online.target";
wants = optional (cfg.persistentTimer && !isLocalPath cfg.repo) "network-online.target";
}; };
# utility function around makeWrapper # utility function around makeWrapper