diff --git a/configuration.nix b/configuration.nix index a4c461e..9e223db 100644 --- a/configuration.nix +++ b/configuration.nix @@ -30,10 +30,10 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - fileSystems."mnt/win" = { - device = "/dev/sdb1"; - fsType = "ntfs"; - }; +# fileSystems."mnt/win" = { +# device = "/dev/sdb1"; +# fsType = "ntfs"; +# }; # Flakes nix.settings.experimental-features = [ "nix-command" "flakes" ]; diff --git a/packages/nvim/default.nix b/packages/nvim/default.nix index 1abd4a7..1818d1e 100644 --- a/packages/nvim/default.nix +++ b/packages/nvim/default.nix @@ -57,6 +57,7 @@ programs.neovim.plugins = [ ".config/nvim/lua/plugins/tiny-inline-diagnostic.lua".source = ./lua/plugins/tiny-inline-diagnostic.lua; ".config/nvim/lua/plugins/conform.lua".source = ./lua/plugins/conform.lua; ".config/nvim/lua/plugins/go.lua".source = ./lua/plugins/go.lua; + # ".config/nvim/lua/plugins/avante.lua".source = ./lua/plugins/avante.lua; } ]; diff --git a/packages/nvim/lua/plugins/avante.lua b/packages/nvim/lua/plugins/avante.lua new file mode 100644 index 0000000..a80cf58 --- /dev/null +++ b/packages/nvim/lua/plugins/avante.lua @@ -0,0 +1,29 @@ +return { + "yetone/avante.nvim", + event = "VeryLazy", + version = false, -- Never set this value to "*"! Never! + opts = { + -- add any opts here + -- for example + provider = "copilot", + }, + build = "make", + dependencies = { + "nvim-treesitter/nvim-treesitter", + "stevearc/dressing.nvim", + "nvim-lua/plenary.nvim", + "MunifTanjim/nui.nvim", + --- The below dependencies are optional, + "nvim-telescope/telescope.nvim", -- for file_selector provider telescope + "nvim-tree/nvim-web-devicons", -- or echasnovski/mini.icons + "zbirenbaum/copilot.lua", -- for providers='copilot' + { + -- Make sure to set this up properly if you have lazy=true + 'MeanderingProgrammer/render-markdown.nvim', + opts = { + file_types = { "markdown", "Avante" }, + }, + ft = { "markdown", "Avante" }, + }, + }, +} diff --git a/packages/nvim/lua/plugins/copilot.lua b/packages/nvim/lua/plugins/copilot.lua new file mode 100644 index 0000000..efcd514 --- /dev/null +++ b/packages/nvim/lua/plugins/copilot.lua @@ -0,0 +1,6 @@ +return { + "zbirenbaum/copilot.lua", + config = function () + require('copilot').setup({}) + end +}