doc: improve demonstration
This commit is contained in:
parent
091e1f5648
commit
cbdec39595
5
extern/README.md
vendored
5
extern/README.md
vendored
|
@ -21,9 +21,10 @@ flake.nix:
|
||||||
|
|
||||||
extern/default.nix:
|
extern/default.nix:
|
||||||
```nix
|
```nix
|
||||||
|
with inputs;
|
||||||
{
|
{
|
||||||
hmModules = {
|
hmModules = {
|
||||||
inherit doom-emacs;
|
doom-emacs = doom-emacs.hmModule;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -34,7 +35,7 @@ users/nixos/default.nix:
|
||||||
{ hmModules, ... }:
|
{ hmModules, ... }:
|
||||||
{
|
{
|
||||||
home-manager.users.nixos = {
|
home-manager.users.nixos = {
|
||||||
imports = [ hmModules.doom-emacs.hmModule ] ;
|
imports = [ hmModules.doom-emacs ] ;
|
||||||
|
|
||||||
programs.doom-emacs.enable = true;
|
programs.doom-emacs.enable = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue