mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-10 02:02:36 +08:00
readme: use table
This commit is contained in:
parent
dd31fa1212
commit
cc2491edf3
1 changed files with 7 additions and 5 deletions
12
README.md
12
README.md
|
|
@ -48,11 +48,13 @@ Start from `flake.nix` (see [Flakes](https://nixos.wiki/wiki/Flakes)). [`flake-p
|
|||
>[!TIP]
|
||||
> See `flake-module.nix` for autowiring of flake outputs based on this directory structure.
|
||||
|
||||
- `configurations`: top-level `flake.{}Configurations` for various systems (`nixos`, `darwin`, `home`)
|
||||
- `modules`: top-level `flake.{}Modiules` for various systems (`nixos`, `darwin`, `home`, `flake-parts`)
|
||||
- `overlays`: Overlays
|
||||
- `packages`: Packages
|
||||
- `secrets`: agenix secrets configuration
|
||||
| Path | Corresponding flake output |
|
||||
| -- | -- |
|
||||
| `./configurations/{nixos,darwin,home}/foo.nix` | `{nixos,darwin,home}Configurations.foo` |
|
||||
| `./mdules/{nixos,darwin,home,flake-parts}/foo.nix` | `{nixos,darwin,home,flake}Modules.foo` |
|
||||
| `./overlays/foo.nix` | `overlays.foo` |
|
||||
| `./packages` | N/A (Nix packages) |
|
||||
| `./secrets` | N/A (agenix data) |
|
||||
|
||||
## Tips
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue