docs: rename modules -> platforms

This commit is contained in:
Matt Sturgeon 2024-10-23 14:10:31 +01:00
parent c477b7865e
commit cd68b680cd
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
8 changed files with 10 additions and 10 deletions

View file

@ -7,7 +7,7 @@ Take a look at these configuration examples below.
<!-- TODO: add info about `kickstart.nixvim` -->
**Note:**\
Most of those configurations are using a [standalone build](../modules/standalone.html), however,
Most of those configurations are using a [standalone build](../platforms/standalone.html), however,
all of the nixvim options are accessible no matter how you are using it (flake, NixOS/HM module, nix-darwin...).
| Config | Comment |

View file

@ -65,7 +65,7 @@ If you are building nixvim using the NixOS, home-manager, or nix-darwin modules
> [!TIP]
> Once [#1784](https://github.com/nix-community/nixvim/issues/1784) is implemented, there will be alternative ways to achieve this using the module system.
[standalone]: ./modules/standalone.md
[standalone]: ../platforms/standalone.md
## How do I create multiple aliases for a single keymap

View file

@ -70,7 +70,7 @@ options as `programs.nixvim.<path>.<to>.<option> = <value>`.
When you use nixvim as a module, an additional module argument is passed on allowing you to peek through the configuration with `hmConfig`, `nixosConfig`, and `darwinConfig` for home-manager, NixOS, and nix-darwin respectively.
This is useful is you use nixvim both as part of an environment and as standalone.
For more information on module-specific options, see [Platform-specific options](../modules/wrapper-options.md).
For more information on module-specific options, see [Platform-specific options](../platforms/wrapper-options.md).
### Standalone usage
@ -88,4 +88,4 @@ The nixvim derivation can then be used like any other package!
For an example, see the [nixvim standalone flake template](https://github.com/nix-community/nixvim/blob/main/templates/simple/flake.nix).
For more information see [Standalone Usage](../modules/standalone.md).
For more information see [Standalone Usage](../platforms/standalone.md).