diff --git a/lib/types/plugins.nix b/lib/types/plugins.nix index f4dde650..c5b6e546 100644 --- a/lib/types/plugins.nix +++ b/lib/types/plugins.nix @@ -104,7 +104,7 @@ with lib; let package = mkOption { type = pluginType; }; - dependencies = mkOption { + after = mkOption { type = listOf str; default = []; }; diff --git a/modules/core/default.nix b/modules/core/default.nix index 1515ca0c..bab8803a 100644 --- a/modules/core/default.nix +++ b/modules/core/default.nix @@ -327,11 +327,11 @@ in { ''; mapResult = r: (wrapLuaConfig (concatStringsSep "\n" (map mkSection r))); extraPluginsDag = mapAttrs (_: { - dependencies, + after, setup, ... }: - nvim.dag.entryAfter dependencies setup) + nvim.dag.entryAfter after setup) cfg.extraPlugins; pluginConfig = resolveDag { name = "extra plugins config";