docs: note how to get status of activation service

Add a note explaining how to get the output of the Home Manager
activation script when it's used as a NixOS module.
This commit is contained in:
Thibault Lemaire 2021-12-22 20:19:29 +01:00 committed by Robert Helgesson
parent 4e92ec84f9
commit fb939d1acf
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -167,6 +167,15 @@ home-manager.users.eve = { pkgs, ... }: {
and after a `nixos-rebuild switch` the user eve's environment should
include a basic Bash configuration and the packages atool and httpie.
[NOTE]
====
If `nixos-rebuild switch` does not result in the environment you expect,
you can take a look at the output of the Home Manager activation script output using
[source,console]
$ systemctl status "home-manager-$USER.service"
====
If you do not plan on having Home Manager manage your shell
configuration then you must add either