diff --git a/flake.lock b/flake.lock index 998e8dd..77956f3 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,27 @@ { "nodes": { + "blueprint": { + "inputs": { + "nixpkgs": [ + "llm-agents", + "nixpkgs" + ], + "systems": "systems" + }, + "locked": { + "lastModified": 1763308703, + "narHash": "sha256-O9Y+Wer8wOh+N+4kcCK5p/VLrXyX+ktk0/s3HdZvJzk=", + "owner": "numtide", + "repo": "blueprint", + "rev": "5a9bba070f801d63e2af3c9ef00b86b212429f4f", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "blueprint", + "type": "github" + } + }, "emacs-overlay": { "inputs": { "nixpkgs": "nixpkgs", @@ -40,6 +62,26 @@ "type": "github" } }, + "llm-agents": { + "inputs": { + "blueprint": "blueprint", + "nixpkgs": "nixpkgs_2", + "treefmt-nix": "treefmt-nix" + }, + "locked": { + "lastModified": 1765034113, + "narHash": "sha256-i+4lUGCZyqXx70xUoM4iqbCAcSk69zz8czZNweCOGg0=", + "owner": "numtide", + "repo": "llm-agents.nix", + "rev": "e39a9719bdc5b495aadf894a9b7321cf27e9ecf7", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "llm-agents.nix", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1764667669, @@ -73,6 +115,22 @@ } }, "nixpkgs_2": { + "locked": { + "lastModified": 1764947035, + "narHash": "sha256-EYHSjVM4Ox4lvCXUMiKKs2vETUSL5mx+J2FfutM7T9w=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "a672be65651c80d3f592a89b3945466584a22069", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_3": { "locked": { "lastModified": 1764667669, "narHash": "sha256-7WUCZfmqLAssbDqwg9cUDAXrSoXN79eEEq17qhTNM/Y=", @@ -88,7 +146,7 @@ "type": "github" } }, - "nixpkgs_3": { + "nixpkgs_4": { "locked": { "lastModified": 1764242076, "narHash": "sha256-sKoIWfnijJ0+9e4wRvIgm/HgE27bzwQxcEmo2J/gNpI=", @@ -123,7 +181,7 @@ }, "nvim-treesitter-main": { "inputs": { - "nixpkgs": "nixpkgs_3", + "nixpkgs": "nixpkgs_4", "nvim-treesitter": "nvim-treesitter", "nvim-treesitter-textobjects": "nvim-treesitter-textobjects" }, @@ -162,11 +220,48 @@ "inputs": { "emacs-overlay": "emacs-overlay", "home-manager": "home-manager", - "nixpkgs": "nixpkgs_2", + "llm-agents": "llm-agents", + "nixpkgs": "nixpkgs_3", "nvim-treesitter-main": "nvim-treesitter-main", "vim-org-roam": "vim-org-roam" } }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "treefmt-nix": { + "inputs": { + "nixpkgs": [ + "llm-agents", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1762938485, + "narHash": "sha256-AlEObg0syDl+Spi4LsZIBrjw+snSVU4T8MOeuZJUJjM=", + "owner": "numtide", + "repo": "treefmt-nix", + "rev": "5b4ee75aeefd1e2d5a1cc43cf6ba65eba75e83e4", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "treefmt-nix", + "type": "github" + } + }, "vim-org-roam": { "flake": false, "locked": { diff --git a/flake.nix b/flake.nix index a83ba67..90a8ff5 100644 --- a/flake.nix +++ b/flake.nix @@ -10,6 +10,7 @@ url = "github:chipsenkbeil/org-roam.nvim"; flake = false; }; + llm-agents.url = "github:numtide/llm-agents.nix"; # Workaround until nvim-treesitter main branch is used in nixpkgs nvim-treesitter-main.url = "github:iofq/nvim-treesitter-main"; }; diff --git a/modules/editor/vim/vim.nix b/modules/editor/vim/vim.nix index 5a7cc85..ea5e8a3 100644 --- a/modules/editor/vim/vim.nix +++ b/modules/editor/vim/vim.nix @@ -1,4 +1,5 @@ { + inputs, config, lib, pkgs, @@ -300,7 +301,7 @@ in vtsls zk - opencode + inputs.llm-agents.packages.${pkgs.system}.opencode ]; }; };