summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2022-01-18 16:49:18 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2022-01-18 17:10:42 +0000
commit53e4f1a5e2d441bac87c64ff4fb1fd60eb580770 (patch)
treebd605418ec0eba5cc6454d2df736a4516c05fc19
parentnixos: add cachix-agent service (diff)
downloadnixpkgs-origin/backport-155009-to-release-21.11.tar.gz
Update nixos/modules/services/system/cachix-agent/default.nixorigin/backport-155009-to-release-21.11
Co-authored-by: pennae <82953136+pennae@users.noreply.github.com> (cherry picked from commit 91cc0cf63bc9959f9cdcc60ab15cf2eae6d870b1)
-rw-r--r--nixos/modules/services/system/cachix-agent/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/system/cachix-agent/default.nix b/nixos/modules/services/system/cachix-agent/default.nix
index 67707e1483b7..496e0b90355b 100644
--- a/nixos/modules/services/system/cachix-agent/default.nix
+++ b/nixos/modules/services/system/cachix-agent/default.nix
@@ -42,7 +42,7 @@ in {
config = mkIf cfg.enable {
systemd.services.cachix-agent = {
description = "Cachix Deploy Agent";
- after = ["network.target"];
+ after = ["network-online.target"];
path = [ config.nix.package ];
wantedBy = [ "multi-user.target" ];
# don't restart while changing