mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-09 14:45:58 +01:00
dev: get maximal from self.packages
This commit is contained in:
parent
86503360d4
commit
69b765519e
2 changed files with 5 additions and 3 deletions
|
@ -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)
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue