Reformat structure section in readme
This commit is contained in:
parent
ae26726a2e
commit
36688e8acd
1 changed files with 9 additions and 12 deletions
21
readme.md
21
readme.md
|
@ -10,20 +10,17 @@ If you want to build upon them I encourage you to fork this repository.
|
||||||
|
|
||||||
## Structure
|
## Structure
|
||||||
|
|
||||||
### `nixos-module.nix`
|
`nixos-module.nix` \
|
||||||
|
**↳** The top-level NixOS module containing all package expressions as an overlay, and all package modules.
|
||||||
|
Once imported the overlay contents can be found under `pkgs . kernelmaft`.
|
||||||
|
|
||||||
The top-level NixOS module containing all package expressions as an overlay, and all package modules.
|
`packages/<package-name>/package.nix` \
|
||||||
Once imported the overlay contents can be found under `pkgs . kernelmaft`.
|
**↳** A Nix package expression.
|
||||||
|
|
||||||
### `packages/<package-name>/package.nix`
|
`packages/<package-name>/nixos-module.nix` \
|
||||||
|
**↳** NixOS module providing additional features for the package in question, such as for example systemd units.
|
||||||
A Nix package expression.
|
Can be imported directly, but is also imported by the top-level module.
|
||||||
|
Not present for all packages.
|
||||||
### `packages/<package-name>/nixos-module.nix`
|
|
||||||
|
|
||||||
NixOS module providing additional features for the package in question, such as for example systemd units.
|
|
||||||
Can be imported directly, but is also imported by the top-level module.
|
|
||||||
Not present for all packages.
|
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue