mirror of
https://github.com/nix-community/home-manager
synced 2024-11-18 09:09:45 +01:00
4a724cb84c
Specifically, - directly export `modules/lib/dag.nix` instead of renaming attributes, - run through utilities to reuse code where possible, - expose `lib.hm.dag.isEntry` and reuse it in `modules/lib/types-dag.nix`, - reuse utilities through `lib` set instead of passing imports to functions, and - eta reduction of `map`, `entryAnywhere`, `entryAfter` and `entryBefore`.
16 lines
466 B
Nix
16 lines
466 B
Nix
{ lib }:
|
|
|
|
rec {
|
|
dag = import ./dag.nix { inherit lib; };
|
|
|
|
assertions = import ./assertions.nix { inherit lib; };
|
|
|
|
booleans = import ./booleans.nix { inherit lib; };
|
|
gvariant = import ./gvariant.nix { inherit lib; };
|
|
maintainers = import ./maintainers.nix;
|
|
strings = import ./strings.nix { inherit lib; };
|
|
types = import ./types.nix { inherit gvariant lib; };
|
|
|
|
shell = import ./shell.nix { inherit lib; };
|
|
zsh = import ./zsh.nix { inherit lib; };
|
|
}
|