diff --git a/docs/release-notes/rl-2605.md b/docs/release-notes/rl-2605.md index 135eb4834..92cced52e 100644 --- a/docs/release-notes/rl-2605.md +++ b/docs/release-notes/rl-2605.md @@ -50,3 +50,6 @@ changes are only active if the `home.stateVersion` option is set to and `whatis`/`man -f` binaries that don't work on Darwin. Nix-installed manual pages still work with macOS's built-in `man` via [](#opt-home.extraOutputsToInstall). + +- The options [](#opt-programs.neovim.withPython3) and + [](#opt-programs.neovim.withRuby) now default to `false` following nixpkgs diff --git a/modules/programs/neovim.nix b/modules/programs/neovim.nix index d98e35981..c66e71ba3 100644 --- a/modules/programs/neovim.nix +++ b/modules/programs/neovim.nix @@ -109,7 +109,21 @@ in withPython3 = mkOption { type = types.bool; - default = true; + inherit + (lib.hm.deprecations.mkStateVersionOptionDefault { + inherit (config.home) stateVersion; + since = "26.05"; + optionPath = [ + "programs" + "neovim" + "withPython3" + ]; + legacy.value = true; + current.value = false; + }) + default + defaultText + ; description = '' Enable Python 3 provider. Set to `true` to use Python 3 plugins. @@ -117,8 +131,22 @@ in }; withRuby = mkOption { - type = types.nullOr types.bool; - default = false; + type = types.bool; + inherit + (lib.hm.deprecations.mkStateVersionOptionDefault { + inherit (config.home) stateVersion; + since = "26.05"; + optionPath = [ + "programs" + "neovim" + "withRuby" + ]; + legacy.value = true; + current.value = false; + }) + default + defaultText + ; description = '' Enable ruby provider. '';