diff --git a/docs/installation.adoc b/docs/installation.adoc index 5241e9247..da596e167 100644 --- a/docs/installation.adoc +++ b/docs/installation.adoc @@ -219,6 +219,15 @@ the dependency on `NIX_PATH`, which is otherwise used for importing Nixpkgs. ==== +[NOTE] +==== +Home Manager will pass `osConfig` as a module argument to any modules +you create. This contains the system's NixOS configuration. + +[source,nix] +{ lib, pkgs, osConfig, ... }: +==== + Once installed you can see <> for a more detailed description of Home Manager and how to use it. @@ -325,5 +334,14 @@ the dependency on `NIX_PATH`, which is otherwise used for importing Nixpkgs. ==== +[NOTE] +==== +Home Manager will pass `osConfig` as a module argument to any modules +you create. This contains the system's nix-darwin configuration. + +[source,nix] +{ lib, pkgs, osConfig, ... }: +==== + Once installed you can see <> for a more detailed description of Home Manager and how to use it.