Reformat structure section in readme

This commit is contained in:
Reinout Meliesie 2025-03-04 13:55:02 +01:00
parent 36688e8acd
commit 402cf49968
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6

View file

@ -10,17 +10,20 @@ If you want to build upon them I encourage you to fork this repository.
## Structure
`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`.
`nixos-module.nix`
`packages/<package-name>/package.nix` \
**&#x21B3;** A Nix package expression.
- 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`.
`packages/<package-name>/nixos-module.nix` \
**&#x21B3;** 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.
`packages/<package-name>/package.nix`
- A Nix package expression.
`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