diff --git a/system/default.nix b/system/default.nix index 3a44dfab..efcd3d73 100644 --- a/system/default.nix +++ b/system/default.nix @@ -463,6 +463,7 @@ with mylib.networking; { services."refresh-nps-cache" = { # Make sure `nix` and `nix-env` are findable by systemd.services. path = ["/run/current-system/sw/"]; + after = ["network.target"]; serviceConfig = { Type = "oneshot"; User = "${username}";