diff --git a/flake.nix b/flake.nix index f5554e0..d8c2b5e 100644 --- a/flake.nix +++ b/flake.nix @@ -82,6 +82,7 @@ TS_AUTHKEY=$(cat $RUNTIME_DIRECTORY/authkey) ${lib.getExe self.packages.${pkgs.system}.default} ${hostname} ${lib.concatMapStringsSep " " ({proto, port, dest}: "${proto}:${toString port}:${dest}") forwards} ''; wantedBy = ["multi-user.target"]; + wants = ["network-online.target"]; serviceConfig = { DynamicUser = true; RuntimeDirectory = name;