os/doc/api-reference-home.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

98 lines
1.4 KiB
Markdown
Raw Normal View History

# Home-Manager API Container
Configure your home manager modules, profiles & suites.
## home
hosts, modules, suites, and profiles for home-manager
_*Type*_:
submodule or path convertible to it
2022-11-20 22:28:23 +00:00
_*Default*_
```
{}
```
## home.exportedModules
modules to include in all hosts and export to homeModules output
_*Type*_:
list of valid modules or anything convertible to it or path convertible to it
2022-11-20 22:28:23 +00:00
_*Default*_
```
[]
```
## home.externalModules
2022-11-20 22:28:23 +00:00
The `externalModules` option has been removed.
Any modules that should be exported should be defined with the `exportedModules`
option and all other modules should just go into the `modules` option.
_*Type*_:
list of valid modules or anything convertible to it
2022-11-20 22:28:23 +00:00
_*Default*_
```
[]
```
## home.importables
Packages of paths to be passed to modules as `specialArgs`.
_*Type*_:
attribute set
2022-11-20 22:28:23 +00:00
_*Default*_
```
{}
```
## home.importables.suites
collections of profiles
_*Type*_:
null or attribute set of list of paths or anything convertible to its or path convertible to it
2022-11-20 22:28:23 +00:00
_*Default*_
```
null
```
## home.modules
2022-11-20 22:28:23 +00:00
modules to include that won't be exported
meant importing modules from external flakes
_*Type*_:
list of valid modules or anything convertible to it or path convertible to it
2022-11-20 22:28:23 +00:00
_*Default*_
```
[]
```
## home.users
HM users that can be deployed portably without a host.
_*Type*_:
attribute set of HM user configs
2022-11-20 22:28:23 +00:00
_*Default*_
```
{}
```