Commit graph

8 commits

Author SHA1 Message Date
Matt Sturgeon
b076f006c6
wrappers: add meta.wrappers options to wrappers
Allows the docs to be a little less hard-coded.

Lays the groundwork for splitting up the platform-specific option docs
on a per-page basis.
2024-10-22 14:15:58 +01:00
Matt Sturgeon
574ae92a43
wrappers/modules: move enable to shared.nix
We may end up having additional "shared" options and/or config.
2024-10-22 12:31:56 +01:00
Matt Sturgeon
cb2b76c1a9
docs/home-manager: eval options without checking config definitions
By default `lib.evalModules` will check all config definitions match
a declared option (or a freeform type), leading to errors like:

    error: The option `wrapRc' does not exist.

Setting `_module.freeformType` or `_module.check` will disable this,
allowing us to evaluate the option declaration without checking the
config definitions.
2024-09-27 02:56:28 +01:00
Austin Horstman
c76e5070b9
wrappers: cleanup with lib 2024-09-03 22:12:33 -05:00
Matt Sturgeon
3d96960348 wrappers: simplify modules 2024-07-02 14:15:51 +00:00
Gaetan Lepage
514413f631 wrappers/hm: add vimdiffAlias option 2024-06-03 00:29:52 +02:00
traxys
62f32bfc71 treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
traxys
6d1ef5864b
docs: Add a section on module specific options (#1355)
This commit only adds Home-Manager specific options, we should add
sections for the different kind of modules too.

This is _not_ added to the man docs, as it is more complex. If need
arises we could look into how to do it.
2024-03-30 14:52:32 +01:00