diff --git a/flake.nix b/flake.nix index acef6382..7175b0d4 100644 --- a/flake.nix +++ b/flake.nix @@ -33,7 +33,7 @@ }; homeManagerModules = { - nvf = import ./flake/modules/home-manager.nix {inherit lib self;}; + nvf = import ./flake/modules/home-manager.nix {inherit lib inputs;}; default = self.homeManagerModules.nvf; neovim-flake = lib.warn '' diff --git a/flake/modules/home-manager.nix b/flake/modules/home-manager.nix index 715f7537..3b75e49a 100644 --- a/flake/modules/home-manager.nix +++ b/flake/modules/home-manager.nix @@ -1,13 +1,13 @@ # Home Manager module { - self, + inputs, lib, }: { config, pkgs, ... }: let - inherit (self) packages inputs; + inherit (inputs.self) packages; inherit (lib) maintainers; inherit (lib.modules) mkIf mkAliasOptionModule; inherit (lib.lists) optional; @@ -19,7 +19,7 @@ nvfModule = submoduleWith { description = "Nvf module"; class = "nvf"; - specialArgs = { + specialArgs = lib.trace (builtins.attrNames inputs) { inherit pkgs lib inputs; }; modules = import ../../modules/modules.nix {inherit pkgs lib;};