diff --git a/modules/moritz/programs/nvim/plugins/avante.nix b/modules/moritz/programs/nvim/plugins/avante.nix deleted file mode 100644 index a0fde07..0000000 --- a/modules/moritz/programs/nvim/plugins/avante.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ - config, - lib, - ... -}: let - inherit (lib) mkIf; - - cfg = config.my.ai; -in { - config = mkIf cfg.enable { - home-manager.users.moritz.programs.nixvim.plugins = { - render-markdown = { - enable = true; - settings.file_types = ["markdown" "Avante"]; - }; - nui.enable = true; - dressing.enable = true; - avante = { - enable = true; - settings = { - provider = "openai"; - openai = { - api_key_name = "cmd:cat ${config.clan.core.vars.generators.moritz-openai.files.api-key.path}"; - }; - }; - lazyLoad.settings.event = ["DeferredUIEnter"]; - }; - }; - }; -}