diff --git a/flake.nix b/flake.nix index b9755a42..8c5cb1cd 100644 --- a/flake.nix +++ b/flake.nix @@ -45,7 +45,7 @@ homeManagerModules.default = { imports = [ - (import ./lib/module self.packages) + (import ./lib/module self.config) ]; }; }; diff --git a/lib/module/default.nix b/lib/module/default.nix index 025b3409..f87a5495 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.override {mainConfig = cfg.settings;}; + set = packages.${pkgs.system}.maximal {mainConfig = cfg.settings;}; in { meta.maintainers = [maintainers.notashelf];