mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-07 21:45:59 +01:00
try using self.packages instead of overlays
This commit is contained in:
parent
5f1bd13da4
commit
898760b5c6
2 changed files with 5 additions and 3 deletions
|
@ -41,7 +41,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
homeManagerModules.default = {
|
homeManagerModules.default = {
|
||||||
imports = [./lib/hm-module.nix];
|
imports = [
|
||||||
|
./lib/hm-module.nix
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
{
|
{
|
||||||
self,
|
self,
|
||||||
config,
|
config,
|
||||||
pkgs ? self.packages.default,
|
pkgs,
|
||||||
lib ? pkgs.lib,
|
lib ? pkgs.lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
cfg = config.programs.neovim-flake;
|
cfg = config.programs.neovim-flake;
|
||||||
set = pkgs.neovim-maximal {mainConfig = cfg.settings;};
|
set = self.packages.neovim-maximal {mainConfig = cfg.settings;};
|
||||||
in
|
in
|
||||||
with lib; {
|
with lib; {
|
||||||
meta.maintainers = [maintainers.notashelf];
|
meta.maintainers = [maintainers.notashelf];
|
||||||
|
|
Loading…
Reference in a new issue