users: add Home Manager section to doc

This commit is contained in:
Pacman99 2021-03-23 07:44:57 -07:00
parent dc9d9877b8
commit 6d51ed0266

View File

@ -22,10 +22,17 @@ your users. For a fully fleshed out example, check out the developers personal
```
## Home Manager
Home Manager support follows the same principles as regular nixos configurations.
All modules defined in [user modules](./modules/module-list.nix) will be imported to
Home Manager. All profiles are availabe in [suites](../suites/default.nix) as userProfiles.
The `userSuites` output will be available in your Home Manager Configuration as
the special argument, `suites`.
## External Usage
You can easily use the defined home-manager configurations outside of NixOS
using the `hmActivations` meta-package defined in the flakes `legacyPackages`
output. The [flk](../doc/flk) helper script makes this even easier.
using the `homeConfigurations` flake output. The [flk](../doc/flk) helper
script makes this even easier.
This is great for keeping your environment consistent across Unix systems,
including OSX.