diff --git a/flake.nix b/flake.nix index 22ea14d..d1dca67 100644 --- a/flake.nix +++ b/flake.nix @@ -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 = {