mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
readme: use pkgs.system
in standalone example
This commit is contained in:
parent
d3f12340e1
commit
80ed86649b
1 changed files with 3 additions and 1 deletions
|
@ -128,12 +128,14 @@ and standalone through the `makeNixvim` function. To use the modules, just impor
|
|||
`nixvim.nixosModules.nixvim` modules, depending on which system
|
||||
you're using.
|
||||
|
||||
For more detail, see the [Usage](https://nix-community.github.io/nixvim/user-guide/install.html#usage) section of our documentation.
|
||||
|
||||
If you want to use it standalone, you can use the `makeNixvim` function:
|
||||
|
||||
```nix
|
||||
{ pkgs, nixvim, ... }: {
|
||||
environment.systemModules = [
|
||||
(nixvim.legacyPackages."${system}".makeNixvim {
|
||||
(nixvim.legacyPackages."${pkgs.system}".makeNixvim {
|
||||
colorschemes.gruvbox.enable = true;
|
||||
})
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue