From 3a22953bea77bf3b8f6559de0c55838cd5fc76bc Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Sun, 19 Jan 2025 13:12:02 +0000 Subject: [PATCH] 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. --- wrappers/modules/nixpkgs.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wrappers/modules/nixpkgs.nix b/wrappers/modules/nixpkgs.nix index 898713a3..8d0459e9 100644 --- a/wrappers/modules/nixpkgs.nix +++ b/wrappers/modules/nixpkgs.nix @@ -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.