From 317ff16bb7d71f49ecbba0550a085463deb301a5 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sat, 1 Apr 2023 01:35:35 +0300 Subject: [PATCH] dev: try legacypackages --- flake.nix | 2 +- lib/module/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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];