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