diff --git a/flake.nix b/flake.nix index 8c5cb1c..b9755a4 100644 --- a/flake.nix +++ b/flake.nix @@ -45,7 +45,7 @@ homeManagerModules.default = { imports = [ - (import ./lib/module self.config) + (import ./lib/module self.packages) ]; }; }; diff --git a/lib/module/default.nix b/lib/module/default.nix index f87a549..025b340 100644 --- a/lib/module/default.nix +++ b/lib/module/default.nix @@ -8,7 +8,7 @@ packages: { }: with lib; let cfg = config.programs.neovim-flake; - set = packages.${pkgs.system}.maximal {mainConfig = cfg.settings;}; + set = packages.${pkgs.system}.maximal.override {mainConfig = cfg.settings;}; in { meta.maintainers = [maintainers.notashelf];