diff --git a/flake.nix b/flake.nix index 095419d5..1041d8b5 100644 --- a/flake.nix +++ b/flake.nix @@ -31,7 +31,10 @@ }; homeManagerModules = { - nvf = import ./flake/modules/home-manager.nix self.packages lib inputs; + nvf = import ./flake/modules/home-manager.nix { + inherit lib inputs; + inherit (self) packages; + }; default = self.homeManagerModules.nvf; neovim-flake = lib.warn '' diff --git a/flake/modules/home-manager.nix b/flake/modules/home-manager.nix index 57b6fd9d..bce18c8c 100644 --- a/flake/modules/home-manager.nix +++ b/flake/modules/home-manager.nix @@ -1,5 +1,9 @@ # Home Manager module -packages: lib: inputs: { +{ + packages, + lib, + inputs, +}: { config, pkgs, ...