docs: clarify nixos and home-manager usage

This commit is contained in:
NotAShelf 2023-04-02 19:58:37 +03:00
commit f7e860d6e5
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22
2 changed files with 10 additions and 3 deletions

View file

@ -18,7 +18,10 @@ The following is an example of a barebones vim configuration with the default th
[source,nix]
----
{
inputs.neovim-flake.url = "github:jordanisaacs/neovim-flake";
inputs.neovim-flake = {
url = "github:notashelf/neovim-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
outputs = {nixpkgs, neovim-flake, ...}: let
system = "x86_64-linux";
@ -27,7 +30,9 @@ The following is an example of a barebones vim configuration with the default th
# Add any custom options (and feel free to upstream them!)
# options = ...
config.vim.theme.enable = true;
config.vim = {
theme.enable = true;
};
};
customNeovim = neovim-flake.lib.neovimConfiguration {