mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-26 10:48:35 +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
|
@ -1,6 +0,0 @@
|
|||
# Home Manager Usage
|
||||
|
||||
All nixvim options are available at `programs.nixvim.*` when nixvim is used in home-manager.
|
||||
There are a few home-manager specific options that are documented here.
|
||||
|
||||
@HM_OPTIONS@
|
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