many changes and more modularizing

This commit is contained in:
2024-12-12 22:30:24 +01:00
parent df50e70f3e
commit c96c24f864
109 changed files with 20900 additions and 278 deletions

View File

@@ -1,6 +1,9 @@
{ pkgs, ... }:
{
environment.variables = { EDITOR = "vim"; };
nixpkgs.overlays = [
(import ./chatgpt.nix)
];
environment.systemPackages = with pkgs; [
nodePackages.typescript-language-server
@@ -11,6 +14,8 @@
gopls
lazygit
ripgrep
lua
luaPackages.lyaml
(neovim.override {
vimAlias = true;
configure = {
@@ -19,6 +24,7 @@
bigfile-nvim
bufferline-nvim
catppuccin-nvim
chatgpt-nvim
cmp-buffer
cmp-nvim-lsp
cmp-path
@@ -66,6 +72,7 @@
luaConfig = builtins.concatStringsSep "\n" (map luaRequire [
"init"
"keymappings"
"chatgpt"
"copilot"
"icons"
"lspconfig"
@@ -86,6 +93,7 @@
EOF
'';
};
extraLuaPackages = luaPackages: [ luaPackages.lyaml ];
}
)];
}