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.
This commit is contained in:
traxys 2024-03-30 14:52:32 +01:00 committed by GitHub
parent c706207007
commit 6d1ef5864b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 37 additions and 8 deletions

7
wrappers/modules/hm.nix Normal file
View file

@ -0,0 +1,7 @@
{lib}:
with lib; {
options = {
enable = mkEnableOption "nixvim";
defaultEditor = mkEnableOption "nixvim as the default editor";
};
}