mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 23:16:46 +00: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 = {
|
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