modules/nixpkgs: useGlobalPackages default to false

Rather than waiting for a technically impossible migration strategy,
let's just bite the bullet and change the default.
This commit is contained in:
Matt Sturgeon 2025-01-19 13:12:02 +00:00
parent fecc892145
commit 3a22953bea
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

View file

@ -36,8 +36,7 @@ in
options = {
nixpkgs.useGlobalPackages = lib.mkOption {
type = lib.types.bool;
default = true; # TODO: Added 2025-01-15; switch to false one release after adding a deprecation warning
defaultText = lib.literalMD ''`true`, but will change to `false` in a future version.'';
default = false;
description = ''
Whether Nixvim should use the ${config.meta.wrapper.name} configuration's `pkgs`,
instead of constructing its own instance.