1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00
home-manager/modules/lib
h7x4 fce9dbfeb4
lib: add generator for KDL
Added a generator for the KDL document language.
This is in order for home-manager to natively generate
the new config format for zellij, as described in nix-community#3364.

There is not a one to one mapping between KDL and nix types,
but attrset translation is heavily based on KDLs JSON-IN-KDL microsyntax.
The exception here is the `_args` and `_props` arguments, which lets you
specify arguments and properties as described in the spec.

See more here:
- https://kdl.dev/
- https://github.com/kdl-org/kdl/blob/main/SPEC.md

The generator also conforms to the interface from the nixpkgs manual:
https://nixos.org/manual/nixpkgs/stable/#sec-generators

Co-authored-by: Gaetan Lepage <gaetan@glepage.com>
2023-03-10 16:48:10 +01:00
..
assertions.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
booleans.nix lib.booleans: add yesNo function (#2818) 2022-04-07 22:36:13 -06:00
dag.nix lib: improve DAG library 2022-07-18 15:32:48 +02:00
default.nix lib: add generator for KDL 2023-03-10 16:48:10 +01:00
file-type.nix files: allow disabling creation of a file 2023-01-26 22:31:16 +01:00
generators.nix lib: add generator for KDL 2023-03-10 16:48:10 +01:00
gvariant.nix lib: add two new gvariant types 2022-09-29 13:05:51 +02:00
maintainers.nix vim-vint: add module (#3604) 2023-02-05 11:12:28 +01:00
shell.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
stdlib-extended.nix lib: add fallback for literalExpression and literalDocBook 2021-10-13 00:16:09 +02:00
strings.nix lib: remove top-level with lib 2021-10-31 08:50:53 +01:00
types-dag.nix lib: improve DAG library 2022-07-18 15:32:48 +02:00
types.nix types: allow non-integer font sizes 2022-12-04 14:29:34 +01:00
zsh.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00