doc: improve demonstration

This commit is contained in:
Timothy DeHerrera 2021-02-21 14:51:19 -07:00
parent 091e1f5648
commit cbdec39595
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122

5
extern/README.md vendored
View file

@ -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;
}; };