diff --git a/flake.nix b/flake.nix index d1dca67..22ea14d 100644 --- a/flake.nix +++ b/flake.nix @@ -25,15 +25,10 @@ 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 = { - pkgs = pkgsWithUnfree; + inherit pkgs; module = import ./config; # import the module directly # You can use `extraSpecialArgs` to pass additional arguments to your module files extraSpecialArgs = {