mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 10:59:49 +01:00
Merge pull request #34 from FlafyDev/fixHomeManager
Fix home manager module
This commit is contained in:
commit
e0d5b9eac3
2 changed files with 7 additions and 3 deletions
|
@ -45,7 +45,7 @@
|
|||
|
||||
homeManagerModules.default = {
|
||||
imports = [
|
||||
(import ./lib/module self.packages)
|
||||
(import ./lib/module self.packages inputs)
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# Home Manager module
|
||||
packages: {
|
||||
packages: inputs: {
|
||||
pkgs,
|
||||
config,
|
||||
lib ? pkgs.lib,
|
||||
|
@ -8,7 +8,11 @@ packages: {
|
|||
}:
|
||||
with lib; let
|
||||
cfg = config.programs.neovim-flake;
|
||||
set = packages.${pkgs.system}.maximal.override {mainConfig = cfg.settings;};
|
||||
inherit (import ../../extra.nix inputs) neovimConfiguration;
|
||||
set = neovimConfiguration {
|
||||
inherit pkgs;
|
||||
modules = [cfg.settings];
|
||||
};
|
||||
in {
|
||||
meta.maintainers = [maintainers.notashelf];
|
||||
|
||||
|
|
Loading…
Reference in a new issue