revert unfree

This commit is contained in:
♥ Minnie ♥ 2025-04-30 16:21:16 +08:00
parent 03c865238b
commit 6e4433ca3d
Signed by: jasmine
GPG key ID: 8563E358D4E8040E

View file

@ -25,15 +25,10 @@
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 = {
pkgs = pkgsWithUnfree; inherit pkgs;
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 = {