From 3231eec14e7346f820c7f48b599dfa8060894689 Mon Sep 17 00:00:00 2001 From: cjurgell Date: Tue, 24 Jun 2025 11:31:25 -0500 Subject: [PATCH] cleanup bundle size --- .github/workflows/main.yml | 2 +- nix/neovim-overlay.nix | 18 ++++++------------ 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 907bff6..36b3551 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - package_name: ["nvim", "nvim-min"] + package_name: ["nvim-min"] steps: - uses: actions/checkout@v3 - uses: DeterminateSystems/nix-installer-action@main diff --git a/nix/neovim-overlay.nix b/nix/neovim-overlay.nix index cc0e683..bffdfa2 100644 --- a/nix/neovim-overlay.nix +++ b/nix/neovim-overlay.nix @@ -22,7 +22,6 @@ with final.pkgs.lib; let diffview-nvim eyeliner-nvim friendly-snippets - fzf-vim lazy-nvim mini-nvim-git nightfox-nvim @@ -43,22 +42,20 @@ with final.pkgs.lib; let ripgrep fd ]; + # Extra packages that should be included on nixos but don't need to be bundled extraPackages = with pkgs; [ # linters - puppet-lint + alejandra yamllint jq - alejandra + hadolint + shellcheck # LSPs gopls lua-language-server nil - phpactor basedpyright - - #other - jujutsu ]; in { nvim-pkg = mkNeovim { @@ -72,11 +69,8 @@ in { plugins = all-plugins; appName = "nvim"; extraPackages = basePackages; - ignoreConfigRegexes = [ - ".*lsp.lua" - ".*debug.lua" - ".*ai.lua" - ]; + withSqlite = false; + withPython3 = false; }; # This is meant to be used within a devshell.