try using self.packages instead of overlays

This commit is contained in:
NotAShelf 2023-03-31 05:34:14 +03:00
parent 5f1bd13da4
commit 898760b5c6
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 = { homeManagerModules.default = {
imports = [./lib/hm-module.nix]; imports = [
./lib/hm-module.nix
];
}; };
}; };

View file

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