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

@ -19,7 +19,7 @@ Followed by importing the HM module.
[source,nix]
----
{
imports = [ neovim-flake.nixosModules.default ];
imports = [ neovim-flake.homeManagerModules.default ];
}
----
@ -29,7 +29,9 @@ Then we should be able to use the given module. E.g.
----
{
programs.neovim-flake = {
enable = true;
# your settings need to go into the settings attrset
settings = {
vim.viAlias = false;
vim.vimAlias = true;