about summary refs log tree commit diff
path: root/modules/README.md
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2021-07-06 08:59:40 +0200
committeraszlig <aszlig@nix.build>2021-07-09 17:48:25 +0200
commit709e45c2a8c231201d3f67c6a954021ca2a5f796 (patch)
treed8bc11e17029507d31b4df38b56a65d340669d27 /modules/README.md
parentff940a210a4676bac305ff0ea8eed5a933d51443 (diff)
modules/git: Switch to RFC-0042
In RFC-0042[1], the structural settings are exposed via a "settings"
attribute, while in our module it's called "config". To make this less
ambiguous (since there is already a "config" attribute passed to
modules) and more in line with best practices, I renamed it accordingly.

Additionally, the configuration file is now generated via *defining*
another (read-only) option, which can be used by other modules to
reference the path. The previous way this has been done was using the
apply attribute to mkOption, which makes it really hard to access the
original attributes for these settings.

[1]: https://git.io/JcXmU

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'modules/README.md')
0 files changed, 0 insertions, 0 deletions