dev: get maximal from self.packages

This commit is contained in:
NotAShelf 2023-04-01 00:57:25 +03:00
parent 17e6fe5150
commit f9a783904e
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];