mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-27 11:08:53 +02:00
docs: refactor wrapper-options docs
This commit is contained in:
parent
5992a22821
commit
0562e519ec
6 changed files with 54 additions and 19 deletions
24
docs/modules/wrapper-options.md
Normal file
24
docs/modules/wrapper-options.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Platform-specific options
|
||||
|
||||
All of Nixvim's options are available within `programs.nixvim.*` when Nixvim is used via wrapper modules,
|
||||
such as our NixOS, home-manager, or nix-darwin modules.
|
||||
|
||||
When Nixvim is used standalone (without a wrapper module), its options are available at the "top-level".
|
||||
See [Standalone Usage](./standalone.md) for more info.
|
||||
|
||||
There are a few wrapper specific options that are documented below:
|
||||
|
||||
## NixOS
|
||||
|
||||
@NIXOS_OPTIONS@
|
||||
|
||||
## home-manager
|
||||
|
||||
@HM_OPTIONS@
|
||||
|
||||
## nix-darwin
|
||||
|
||||
@DARWIN_OPTIONS@
|
||||
|
||||
<!-- TODO: Add @STANDALONE_OPTIONS@ if we ever have standalone-specific options -->
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue