From d4acc8b309a4ecbe0492691b19a553297cf47b83 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 b9755a4..8c5cb1c 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 025b340..f87a549 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];