docs: use official names of NixOS, Home Manager and nix-darwin
This commit is contained in:
parent
e006fa229c
commit
4c4cac6445
11 changed files with 22 additions and 22 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# 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.
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ There are **no** standalone-specific options available.
|
|||
|
||||
## Using in another configuration
|
||||
|
||||
Here is an example on how to integrate into a NixOS or Home-manager configuration when using flakes.
|
||||
Here is an example on how to integrate into a NixOS or Home Manager configuration when using flakes.
|
||||
|
||||
The example assumes your standalone config is the `default` package of a flake, and you've named the input "`nixvim-config`".
|
||||
```nix
|
||||
|
|
@ -17,7 +17,7 @@ The example assumes your standalone config is the `default` package of a flake,
|
|||
{
|
||||
# NixOS
|
||||
environment.systemPackages = [ inputs.nixvim-config.packages.${system}.default ];
|
||||
# home-manager
|
||||
# Home Manager
|
||||
home.packages = [ inputs.nixvim-config.packages.${system}.default ];
|
||||
}
|
||||
```
|
||||
|
|
@ -53,7 +53,7 @@ This will generate a `init.lua` that will contain the comments from each stages:
|
|||
|
||||
The `config` used to produce a standalone nixvim derivation can be accessed as an attribute on the derivation, similar to `<nixvim>.extend`.
|
||||
|
||||
This may be useful if you want unrelated parts of your NixOS or home-manager configuration to use the same value as something in your nixvim configuration.
|
||||
This may be useful if you want unrelated parts of your NixOS, Home Manager or nix-darwin configuration to use the same value as something in your nixvim configuration.
|
||||
|
||||
## Accessing nixvim options
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue