mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-22 19:54:43 +02:00
Migrate homeManagerModules uses to homeModules
(cherry picked from commit c10f60d007
)
This commit is contained in:
parent
44afa43b07
commit
8716bc557a
7 changed files with 10 additions and 10 deletions
|
@ -114,7 +114,7 @@ in
|
|||
{
|
||||
imports = [
|
||||
# For home-manager
|
||||
nixvim.homeManagerModules.nixvim
|
||||
nixvim.homeModules.nixvim
|
||||
# For NixOS
|
||||
nixvim.nixosModules.nixvim
|
||||
# For nix-darwin
|
||||
|
@ -158,7 +158,7 @@ flakes, just add the nixvim input:
|
|||
}
|
||||
```
|
||||
|
||||
You can now access the module using `inputs.nixvim.homeManagerModules.nixvim`,
|
||||
You can now access the module using `inputs.nixvim.homeModules.nixvim`,
|
||||
for a home-manager installation, `inputs.nixvim.nixosModules.nixvim`, for NixOS,
|
||||
and `inputs.nixvim.nixDarwinModules.nixvim` for nix-darwin.
|
||||
|
||||
|
@ -167,7 +167,7 @@ and `inputs.nixvim.nixDarwinModules.nixvim` for nix-darwin.
|
|||
## Usage
|
||||
NixVim can be used in four ways: through the home-manager, nix-darwin, NixOS modules,
|
||||
and standalone through the `makeNixvim` function. To use the modules, just import the
|
||||
`nixvim.homeManagerModules.nixvim`, `nixvim.nixDarwinModules.nixvim`, and
|
||||
`nixvim.homeModules.nixvim`, `nixvim.nixDarwinModules.nixvim`, and
|
||||
`nixvim.nixosModules.nixvim` modules, depending on which system
|
||||
you're using.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue