try using self.packages instead of overlays

This commit is contained in:
NotAShelf 2023-03-31 05:34:14 +03:00
parent 7817e036dc
commit f1be251d06
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22
2 changed files with 5 additions and 3 deletions

View file

@ -41,7 +41,9 @@
};
homeManagerModules.default = {
imports = [./lib/hm-module.nix];
imports = [
./lib/hm-module.nix
];
};
};

View file

@ -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];