diff --git a/nixos/modules/services/matrix/conduit.nix b/nixos/modules/services/matrix/conduit.nix index c484f67327d8..98ed19abd366 100644 --- a/nixos/modules/services/matrix/conduit.nix +++ b/nixos/modules/services/matrix/conduit.nix @@ -111,6 +111,8 @@ in description = "Conduit Matrix Server"; documentation = [ "https://gitlab.com/famedly/conduit/" ]; wantedBy = [ "multi-user.target" ]; + wants = [ "network-online.target" ]; + after = [ "network-online.target" ]; environment = lib.mkMerge ([ { CONDUIT_CONFIG = configFile; } cfg.extraEnvironment