diff --git a/docs/manual/installation/standalone/home-manager.md b/docs/manual/installation/standalone/home-manager.md index 1f5d55c..0c1dc02 100644 --- a/docs/manual/installation/standalone/home-manager.md +++ b/docs/manual/installation/standalone/home-manager.md @@ -6,7 +6,7 @@ your system packages to make it available across your system. The following is an example installation of `nvf` as a standalone package with the default theme enabled. You may use other options inside `config.vim` in -`configModule`, but this example will not cover that. +`configModule`, but this example will not cover that extensively. ```nix { @@ -30,23 +30,22 @@ the default theme enabled. You may use other options inside `config.vim` in }; customNeovim = nvf.lib.neovimConfiguration { - modules = [configModule]; inherit pkgs; + modules = [configModule]; }; in { - # this will make the package available as a flake input + # This will make the package available as a flake output under 'packages' packages.${system}.my-neovim = customNeovim.neovim; - # this is an example home-manager configuration - # using the built neovim package + # Example Home-Manager configuration using the configured Neovim package homeConfigurations = { "your-username@your-hostname" = home-manager.lib.homeManagerConfiguration { # ... modules = [ - ./home.nix - - # this will make wrapped neovim available in your system packages - {environment.systemPackages = [customNeovim.neovim];} + # This will make Neovim available to users using the Home-Manager + # configuration. To make the package available to all users, prefer + # environment.systemPackages in your NixOS configuration. + {home.packages = [customNeovim.neovim];} ]; # ... }; diff --git a/docs/manual/installation/standalone/nixos.md b/docs/manual/installation/standalone/nixos.md index 33235ac..a78c8de 100644 --- a/docs/manual/installation/standalone/nixos.md +++ b/docs/manual/installation/standalone/nixos.md @@ -6,7 +6,7 @@ your system packages to make it available across your system. The following is an example installation of `nvf` as a standalone package with the default theme enabled. You may use other options inside `config.vim` in -`configModule`, but this example will not cover that. +`configModule`, but this example will not cover that extensively. ```nix { @@ -30,21 +30,19 @@ the default theme enabled. You may use other options inside `config.vim` in }; customNeovim = nvf.lib.neovimConfiguration { - modules = [configModule]; inherit pkgs; + modules = [configModule]; }; in { - # this will make the package available as a flake input + # This will make the package available as a flake output under 'packages' packages.${system}.my-neovim = customNeovim.neovim; - # this is an example nixosConfiguration using the built neovim package + # Example nixosConfiguration using the configured Neovim package nixosConfigurations = { yourHostName = nixpkgs.lib.nixosSystem { # ... modules = [ - ./configuration.nix # or whatever your configuration is - - # this will make wrapped neovim available in your system packages + # This will make wrapped neovim available in your system packages {environment.systemPackages = [customNeovim.neovim];} ]; # ...