From 1032b197590e6c499f8c3a5faaf3564dff9bc214 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Thu, 26 Dec 2024 23:11:38 +0100 Subject: [PATCH] fix(nvim): use legacyPackages instead of importing Importing nixpkgs is much slower. --- nvim/standalone.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/standalone.nix b/nvim/standalone.nix index 7f44038..1823528 100644 --- a/nvim/standalone.nix +++ b/nvim/standalone.nix @@ -16,7 +16,7 @@ ]; config = { - nixpkgs = lib.optionalAttrs standalone { pkgs = import unstable { inherit system; }; }; + nixpkgs = lib.optionalAttrs standalone { pkgs = unstable.legacyPackages.${system}; }; globals.mapleader = " "; # Appearance colorschemes.gruvbox = {