From f9a51a89184b14deb42d917f768e6b67f61bc8ed Mon Sep 17 00:00:00 2001 From: Gerg-L Date: Mon, 8 Jul 2024 17:16:47 -0400 Subject: [PATCH] _module.args --- flake.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index da35f25c..cd75b79d 100644 --- a/flake.nix +++ b/flake.nix @@ -10,16 +10,15 @@ # provide overridable systems # https://github.com/nix-systems/nix-systems systems = import inputs.systems; - imports = [ - # add lib to module args - {_module.args = {inherit (nixpkgs) lib;};} ./flake/apps.nix ./flake/legacyPackages.nix ./flake/overlays.nix ./flake/packages.nix ]; + _module.args = {inherit (nixpkgs) lib;}; + flake = { lib = { inherit (import ./lib/stdlib-extended.nix nixpkgs.lib inputs) nvim;