diff --git a/flake.lock b/flake.lock
index 796e9aa..634d91e 100644
--- a/flake.lock
+++ b/flake.lock
@@ -302,11 +302,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1735910408,
-        "narHash": "sha256-T2bMhG6Lc1gbhs4czCltGSPPmOUSYEHsIJfq9Lq0HaM=",
+        "lastModified": 1743591946,
+        "narHash": "sha256-nD2OqXHIcLmW+kZBB7y08wuEE5WFHSL6S6UN3PNOElM=",
         "ref": "refs/heads/main",
-        "rev": "94549da249ff14b7e786da5abf9009050c70fc54",
-        "revCount": 96,
+        "rev": "d7afdf14eaa044777717fedbf89bf177d3a3688b",
+        "revCount": 97,
         "type": "git",
         "url": "https://git.pleshevski.ru/pleshevskiy/nixeovim"
       },
diff --git a/neovim/plugins/codecompanion.nix b/neovim/plugins/codecompanion.nix
index 5991238..256ee5a 100644
--- a/neovim/plugins/codecompanion.nix
+++ b/neovim/plugins/codecompanion.nix
@@ -1,4 +1,4 @@
-{ lib, config, ... }:
+{ lib, ... }:
 
 let
   inherit (lib.nix2lua) return lambda0 pipe1 require call;
@@ -48,9 +48,9 @@ in
     };
   };
 
-  plugin.nvim-cmp.setupSettings = lib.mkIf config.plugins.nvim-cmp.enable {
-    sources = {
-      per_filetype.codecompanion = [ "codecompanion" ];
-    };
+  plugins.nvim-cmp.perFiletype.codecompanion = {
+    sources = [
+      { name = "codecompanion"; }
+    ];
   };
 }
diff --git a/neovim/plugins/default.nix b/neovim/plugins/default.nix
index f022db4..81459cb 100644
--- a/neovim/plugins/default.nix
+++ b/neovim/plugins/default.nix
@@ -1,7 +1,7 @@
 {
   imports = [
     ./ollama.nix
-    # ./codecompanion.nix
+    ./codecompanion.nix
     # ./spring-boot.nix
   ];
 }