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
59bf01bbe0
commit
fcbc49e2e5
2 changed files with 6 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
homeManagerModules = {
|
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;
|
default = self.homeManagerModules.nvf;
|
||||||
neovim-flake =
|
neovim-flake =
|
||||||
lib.warn ''
|
lib.warn ''
|
||||||
|
|
|
@ -1,9 +1,13 @@
|
||||||
# Home Manager module
|
# Home Manager module
|
||||||
packages: lib: inputs: {
|
{
|
||||||
|
self,
|
||||||
|
lib,
|
||||||
|
}: {
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
|
inherit (self) packages inputs;
|
||||||
inherit (lib) maintainers;
|
inherit (lib) maintainers;
|
||||||
inherit (lib.modules) mkIf mkAliasOptionModule;
|
inherit (lib.modules) mkIf mkAliasOptionModule;
|
||||||
inherit (lib.lists) optional;
|
inherit (lib.lists) optional;
|
||||||
|
|
Loading…
Reference in a new issue