diff --git a/flake.nix b/flake.nix index a74aae5..36632c1 100644 --- a/flake.nix +++ b/flake.nix @@ -41,7 +41,9 @@ }; homeManagerModules.default = { - imports = [./lib/hm-module.nix]; + imports = [ + ./lib/hm-module.nix + ]; }; }; diff --git a/lib/hm-module.nix b/lib/hm-module.nix index 03e21ac..4648966 100644 --- a/lib/hm-module.nix +++ b/lib/hm-module.nix @@ -2,12 +2,12 @@ { self, config, - pkgs ? self.packages.default, + pkgs, lib ? pkgs.lib, ... }: let cfg = config.programs.neovim-flake; - set = pkgs.neovim-maximal {mainConfig = cfg.settings;}; + set = self.packages.neovim-maximal {mainConfig = cfg.settings;}; in with lib; { meta.maintainers = [maintainers.notashelf];