mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 12:09:48 +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 = {
|
outputs = {
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
flake-parts,
|
flake-parts,
|
||||||
|
self,
|
||||||
...
|
...
|
||||||
} @ inputs:
|
} @ inputs:
|
||||||
flake-parts.lib.mkFlake {inherit inputs;} {
|
flake-parts.lib.mkFlake {inherit inputs;} {
|
||||||
|
@ -44,7 +45,7 @@
|
||||||
|
|
||||||
homeManagerModules.default = {
|
homeManagerModules.default = {
|
||||||
imports = [
|
imports = [
|
||||||
./lib/module
|
(import ./lib/module self.packages)
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,13 +1,14 @@
|
||||||
# Home Manager module
|
# Home Manager module
|
||||||
{
|
packages: {
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
lib ? pkgs.lib,
|
lib ? pkgs.lib,
|
||||||
|
self,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.programs.neovim-flake;
|
cfg = config.programs.neovim-flake;
|
||||||
set = config.legacyPackages.neovim-maximal {mainConfig = cfg.settings;};
|
set = self.packages.maximal {mainConfig = cfg.settings;};
|
||||||
in {
|
in {
|
||||||
meta.maintainers = [maintainers.notashelf];
|
meta.maintainers = [maintainers.notashelf];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue