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