chore: allow unfree packages

This commit is contained in:
♥ Minnie ♥ 2025-03-22 22:35:40 +08:00
parent 93a133da28
commit da940e7973
Signed by: jasmine
GPG key ID: 8563E358D4E8040E

View file

@ -25,10 +25,15 @@
system,
...
}: let
# Extend pkgs to allow unfree packages
pkgsWithUnfree = import inputs.nixpkgs {
inherit system;
config.allowUnfree = true;
};
nixvimLib = nixvim.lib.${system};
nixvim' = nixvim.legacyPackages.${system};
nixvimModule = {
inherit pkgs;
pkgs = pkgsWithUnfree;
module = import ./config; # import the module directly
# You can use `extraSpecialArgs` to pass additional arguments to your module files
extraSpecialArgs = {