chore: allow unfree packages
This commit is contained in:
parent
93a133da28
commit
da940e7973
|
@ -25,10 +25,15 @@
|
||||||
system,
|
system,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
|
# Extend pkgs to allow unfree packages
|
||||||
|
pkgsWithUnfree = import inputs.nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
config.allowUnfree = true;
|
||||||
|
};
|
||||||
nixvimLib = nixvim.lib.${system};
|
nixvimLib = nixvim.lib.${system};
|
||||||
nixvim' = nixvim.legacyPackages.${system};
|
nixvim' = nixvim.legacyPackages.${system};
|
||||||
nixvimModule = {
|
nixvimModule = {
|
||||||
inherit pkgs;
|
pkgs = pkgsWithUnfree;
|
||||||
module = import ./config; # import the module directly
|
module = import ./config; # import the module directly
|
||||||
# You can use `extraSpecialArgs` to pass additional arguments to your module files
|
# You can use `extraSpecialArgs` to pass additional arguments to your module files
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
|
|
Loading…
Reference in a new issue