From 80ed86649b063bd3deafb66bbf98d26eaed5ba80 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Mon, 3 Jun 2024 15:55:20 +0100 Subject: [PATCH] readme: use `pkgs.system` in standalone example --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index faebc870..c1cb237f 100644 --- a/README.md +++ b/README.md @@ -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; }) ];