dev: get maximal from self.packages

This commit is contained in:
NotAShelf 2023-04-01 00:57:25 +03:00
parent 86503360d4
commit 69b765519e
No known key found for this signature in database
GPG Key ID: F0D14CCB5ED5AA22
2 changed files with 5 additions and 3 deletions

View File

@ -3,6 +3,7 @@
outputs = {
nixpkgs,
flake-parts,
self,
...
} @ inputs:
flake-parts.lib.mkFlake {inherit inputs;} {
@ -44,7 +45,7 @@
homeManagerModules.default = {
imports = [
./lib/module
(import ./lib/module self.packages)
];
};
};

View File

@ -1,13 +1,14 @@
# Home Manager module
{
packages: {
pkgs,
config,
lib ? pkgs.lib,
self,
...
}:
with lib; let
cfg = config.programs.neovim-flake;
set = config.legacyPackages.neovim-maximal {mainConfig = cfg.settings;};
set = self.packages.maximal {mainConfig = cfg.settings;};
in {
meta.maintainers = [maintainers.notashelf];