Update nixos/modules/services/system/cachix-agent/default.nix

Co-authored-by: pennae <82953136+pennae@users.noreply.github.com>
(cherry picked from commit 91cc0cf63b)
Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
Domen Kožar
2022-01-18 16:49:18 +01:00
parent f8f114e33e
commit 5553db5223

View File

@@ -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