mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-01-07 07:49:49 +01:00
home-manager: use attr for long function args
This commit is contained in:
parent
835b775fa9
commit
6daec44f40
2 changed files with 6 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
|||
};
|
||||
|
||||
homeManagerModules = {
|
||||
nvf = import ./flake/modules/home-manager.nix self.packages lib inputs;
|
||||
nvf = import ./flake/modules/home-manager.nix {inherit lib self;};
|
||||
default = self.homeManagerModules.nvf;
|
||||
neovim-flake =
|
||||
lib.warn ''
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
# Home Manager module
|
||||
packages: lib: inputs: {
|
||||
{
|
||||
self,
|
||||
lib,
|
||||
}: {
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (self) packages inputs;
|
||||
inherit (lib) maintainers;
|
||||
inherit (lib.modules) mkIf mkAliasOptionModule;
|
||||
inherit (lib.lists) optional;
|
||||
|
|
Loading…
Reference in a new issue