1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 14:50:40 +02:00

docs: clarifications

This commit is contained in:
oddlama 2023-07-02 00:22:59 +02:00
parent 5636a8d08c
commit 01668ddee6
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 5 additions and 2 deletions

View file

@ -49,7 +49,10 @@ but here's a quick breakdown of the what you will find where.
`apps/` | runnable actions for flake maintenance
`hosts/<hostname>` | top-level configuration for `<hostname>`
`lib/` | library functions overlayed on top of `nixpkgs.lib`
`modules/` | contains modularized configuration.
`modules/config/` | global configuration for all hosts
`modules/optional/` | optional configuration included by hosts
`modules/meta/` | simplified setup for existing modules and cross-host config
`modules/*/` | classical reusable configuration modules
`nix/` | library functions and flake plumbing
`pkgs/` | Custom packages and scripts
`secrets/` | Global secrets and age identities

View file

@ -32,7 +32,7 @@ Make sure to utilize the github search if you know what you need!
Some of these are "meta" in the sense that they depend on their own definitions on multiple hosts (wireguard).
These are probably as opinionated as stuff in `modules/config/` but may be a little more general.
The `wireguard` module would even be a candidate for extraction to a separate flake, together with the related apps.
- `modules/<xyz>/` regular modules related to <xyz>, similar structure as in `nixpkgs/nixos/modules`
- `modules/*/` regular modules related to <xyz>, similar structure as in `nixpkgs/nixos/modules`
- `nix/` library functions and flake plumbing
- `checks.nix` pre-commit-hooks for this repository