diff --git a/lib/types/plugins.nix b/lib/types/plugins.nix index f4dde65..c5b6e54 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 1515ca0..bab8803 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";