DOC.md: update docs to reflect changes.

This commit is contained in:
Timothy DeHerrera 2020-12-25 12:55:18 -07:00
parent 3300b5d582
commit 211fc1d5f5
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122

8
DOC.md
View file

@ -74,8 +74,8 @@ directly from this flake via `nixosModules.cachix.<your-cachix>`.
All expressions in both [modules/list.nix](modules/list.nix) and All expressions in both [modules/list.nix](modules/list.nix) and
[pkgs/default.nix](pkgs/default.nix) are available globally, anywhere else in the [pkgs/default.nix](pkgs/default.nix) are available globally, anywhere else in the
repo. They are additionally included in the `nixosModules` and `overlay` flake repo. They are additionally included in the `nixosModules` and `overlay` flake
outputs, respectively. Packages can manually be added to [flake.nix](flake.nix) outputs, respectively. Packages are automatically included in the `packages`
for inclusion in the `packages` output as well. output as well.
The directory structure is identical to nixpkgs to provide a kind of staging area The directory structure is identical to nixpkgs to provide a kind of staging area
for any modules or packages we might be wanting to merge there later. If your not for any modules or packages we might be wanting to merge there later. If your not
@ -88,4 +88,8 @@ line tools will be able to read overlays from here as well since it is set as
`nixpkgs-overlays` in `NIX_PATH`. And of course they will be exported via the `nixpkgs-overlays` in `NIX_PATH`. And of course they will be exported via the
flake output `overlays` as well. flake output `overlays` as well.
If you wish to use an overlay from an external flake, simply add it to the
`externOverlays` list in the `let` block of the `outputs` attribute in
[flake.nix](flake.nix).
[home-manager]: https://github.com/rycee/home-manager [home-manager]: https://github.com/rycee/home-manager