From 20b7d35ead9ff0955a83af83190f12518c3e8d7e Mon Sep 17 00:00:00 2001 From: tarzst Date: Fri, 3 Apr 2026 21:32:52 +0530 Subject: [PATCH] programs.neovim: disable python3 and ruby providers by default --- doc/release-notes/rl-2605.section.md | 2 +- nixos/modules/programs/neovim.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/release-notes/rl-2605.section.md b/doc/release-notes/rl-2605.section.md index b7aa319a57e6..e08df9ab0031 100644 --- a/doc/release-notes/rl-2605.section.md +++ b/doc/release-notes/rl-2605.section.md @@ -310,7 +310,7 @@ gnuradioMinimal.override { - `mold` is now wrapped by default. -- `neovim` now disables by default the `python3` and `ruby` providers, unused by most users and reducing closure size from 365MiB to 240MiB. Host provider executables are not exposed anymore along with the neovim wrapper. You can still refer to those using the neovim provider variables (e.g., `python3_host_prog`). +- The `neovim` package and module now disable by default the `python3` and `ruby` providers, unused by most users and reducing closure size from 365MiB to 240MiB. Host provider executables are not exposed anymore along with the neovim wrapper. You can still refer to those using the neovim provider variables (e.g., `python3_host_prog`). ### Deprecations {#sec-nixpkgs-release-26.05-lib-deprecations} diff --git a/nixos/modules/programs/neovim.nix b/nixos/modules/programs/neovim.nix index 8630855be714..30e0d828ae7d 100644 --- a/nixos/modules/programs/neovim.nix +++ b/nixos/modules/programs/neovim.nix @@ -51,13 +51,13 @@ in withRuby = lib.mkOption { type = lib.types.bool; - default = true; + default = false; description = "Enable Ruby provider."; }; withPython3 = lib.mkOption { type = lib.types.bool; - default = true; + default = false; description = "Enable Python 3 provider."; };