diff --git a/flake.nix b/flake.nix index 8c5cb1cd..b9755a42 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 f87a5495..025b3409 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];