diff --git a/docs/default.nix b/docs/default.nix
index 6cf73dc..683dc9c 100644
--- a/docs/default.nix
+++ b/docs/default.nix
@@ -1,6 +1,6 @@
{
pkgs,
- lib ? import ../modules/lib/stdlib-extended.nix pkgs.lib,
+ lib ? import ../lib/stdlib-extended.nix pkgs.lib,
nmdSrc,
}: let
nmd = import nmdSrc {inherit lib pkgs;};
diff --git a/docs/home-manager.adoc b/docs/home-manager.adoc
new file mode 100644
index 0000000..ed85f90
--- /dev/null
+++ b/docs/home-manager.adoc
@@ -0,0 +1,42 @@
+[[ch-hm-module]]
+== Home Manager
+
+The Home Manager module allows us to customize the different `vim` options. To use it, we first add the input flake.
+
+[source,nix]
+----
+{
+ neovim-flake = {
+ url = github:notashelf/neovim-flake;
+ # you can override input nixpkgs
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
+}
+----
+
+Followed by importing the HM module.
+
+[source,nix]
+----
+{
+ imports = [ neovim-flake.nixosModules.hm-module ];
+}
+----
+
+Then we should be able to use the given module. E.g.
+
+[source,nix]
+----
+{
+ programs.neovim-flake = {
+ enable = true;
+ settings = {
+ vim.viAlias = false;
+ vim.vimAlias = true;
+ vim.lsp = {
+ enable = true;
+ };
+ };
+ };
+}
+----
diff --git a/docs/manual.xml b/docs/manual.xml
index 4f33e91..a03698f 100644
--- a/docs/manual.xml
+++ b/docs/manual.xml
@@ -19,6 +19,7 @@
+