Skip to content

Commit

Permalink
fix(nvim): use legacyPackages instead of importing
Browse files Browse the repository at this point in the history
Importing nixpkgs is much slower.
  • Loading branch information
jalil-salame committed Dec 26, 2024
1 parent 8dd1b00 commit 1032b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvim/standalone.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 1032b19

Please sign in to comment.