From 6e4433ca3d2038f8094b0c3f170dd9fcd9e9acef Mon Sep 17 00:00:00 2001 From: jasmine Date: Wed, 30 Apr 2025 16:21:16 +0800 Subject: [PATCH] revert unfree --- flake.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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 = {