Merge pull request #34 from FlafyDev/fixHomeManager

Fix home manager module
This commit is contained in:
NotAShelf 2023-04-01 22:06:37 +03:00 committed by GitHub
commit e0d5b9eac3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -45,7 +45,7 @@
homeManagerModules.default = { homeManagerModules.default = {
imports = [ imports = [
(import ./lib/module self.packages) (import ./lib/module self.packages inputs)
]; ];
}; };
}; };

View file

@ -1,5 +1,5 @@
# Home Manager module # Home Manager module
packages: { packages: inputs: {
pkgs, pkgs,
config, config,
lib ? pkgs.lib, lib ? pkgs.lib,
@ -8,7 +8,11 @@ packages: {
}: }:
with lib; let with lib; let
cfg = config.programs.neovim-flake; 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 { in {
meta.maintainers = [maintainers.notashelf]; meta.maintainers = [maintainers.notashelf];