doc#extern: docment hmModules
This commit is contained in:
parent
aff6c085cc
commit
f873446787
10
extern/README.md
vendored
10
extern/README.md
vendored
@ -7,4 +7,14 @@ used to extend the arguments passed to all NixOS modules, allowing for
|
|||||||
arbitrary values to be passed from flake inputs to the rest of your
|
arbitrary values to be passed from flake inputs to the rest of your
|
||||||
configuration.
|
configuration.
|
||||||
|
|
||||||
|
There is also an `hmModules` attribute set for pulling home-manager modules in
|
||||||
|
from the outside world:
|
||||||
|
```nix
|
||||||
|
{
|
||||||
|
hmModules = {
|
||||||
|
inherit (someFlake.hmModules) anHmModule;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
[extern]: https://github.com/divnix/devos/tree/core/extern/default.nix
|
[extern]: https://github.com/divnix/devos/tree/core/extern/default.nix
|
||||||
|
2
extern/default.nix
vendored
2
extern/default.nix
vendored
@ -1,6 +1,6 @@
|
|||||||
{ inputs }: with inputs;
|
{ inputs }: with inputs;
|
||||||
let
|
let
|
||||||
hm-modules = { };
|
hmModules = { };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
modules = [
|
modules = [
|
||||||
|
Loading…
Reference in New Issue
Block a user