2021-07-21 04:41:00 +03:00
|
|
|
# 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
|
|
|
|
|
|
|
|
|
|
|
|
*_Default_*
|
|
|
|
```
|
|
|
|
{}
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## home.externalModules
|
|
|
|
modules to include that won't be exported
|
|
|
|
meant importing modules from external flakes
|
|
|
|
|
|
|
|
|
|
|
|
*_Type_*:
|
2021-09-14 10:37:12 +03:00
|
|
|
list of valid modules or anything convertible to it or path convertible to it
|
2021-07-21 04:41:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
*_Default_*
|
|
|
|
```
|
|
|
|
[]
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## home.importables
|
|
|
|
Packages of paths to be passed to modules as `specialArgs`.
|
|
|
|
|
|
|
|
|
|
|
|
*_Type_*:
|
|
|
|
attribute set
|
|
|
|
|
|
|
|
|
|
|
|
*_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
|
|
|
|
|
|
|
|
|
|
|
|
*_Default_*
|
|
|
|
```
|
|
|
|
null
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## home.modules
|
|
|
|
modules to include in all hosts and export to homeModules output
|
|
|
|
|
|
|
|
|
|
|
|
*_Type_*:
|
2021-09-14 10:37:12 +03:00
|
|
|
list of valid modules or anything convertible to it or path convertible to it
|
2021-07-21 04:41:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
*_Default_*
|
|
|
|
```
|
|
|
|
[]
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## home.profiles
|
|
|
|
WARNING: The 'suites' and `profiles` options have been deprecated, you can now create
|
|
|
|
both with the importables option. `rakeLeaves` can be used to create profiles and
|
|
|
|
by passing a module or `rec` set to `importables`, suites can access profiles.
|
|
|
|
Example:
|
|
|
|
```
|
|
|
|
importables = rec {
|
2021-07-21 05:38:14 +03:00
|
|
|
profiles = digga.lib.rakeLeaves ./profiles;
|
2021-07-21 04:41:00 +03:00
|
|
|
suites = with profiles; { };
|
|
|
|
}
|
|
|
|
```
|
|
|
|
See https://github.com/divnix/digga/pull/30 for more details
|
|
|
|
|
|
|
|
|
|
|
|
*_Type_*:
|
|
|
|
list of paths or path convertible to it
|
|
|
|
|
|
|
|
|
|
|
|
*_Default_*
|
|
|
|
```
|
|
|
|
[]
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## home.suites
|
|
|
|
WARNING: The 'suites' and `profiles` options have been deprecated, you can now create
|
|
|
|
both with the importables option. `rakeLeaves` can be used to create profiles and
|
|
|
|
by passing a module or `rec` set to `importables`, suites can access profiles.
|
|
|
|
Example:
|
|
|
|
```
|
|
|
|
importables = rec {
|
2021-07-21 05:38:14 +03:00
|
|
|
profiles = digga.lib.rakeLeaves ./profiles;
|
2021-07-21 04:41:00 +03:00
|
|
|
suites = with profiles; { };
|
|
|
|
}
|
|
|
|
```
|
|
|
|
See https://github.com/divnix/digga/pull/30 for more details
|
|
|
|
|
|
|
|
|
|
|
|
*_Type_*:
|
|
|
|
function that evaluates to a(n) attrs or path convertible to it
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## home.users
|
|
|
|
HM users that can be deployed portably without a host.
|
|
|
|
|
|
|
|
|
|
|
|
*_Type_*:
|
2021-08-04 19:18:23 +03:00
|
|
|
attribute set of HM user configs
|
2021-07-21 04:41:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
*_Default_*
|
|
|
|
```
|
|
|
|
{}
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|