docs(nix): clarify flake output ownership

This commit is contained in:
2026-09-19 16:17:06 -04:00
parent c5d273fd4c
commit d1d89c01ba

View File

@@ -5,8 +5,11 @@
### Rule ### Rule
Add flake inputs in `flake.nix`. Add flake inputs in `flake.nix`.
Put root flake output implementation in `src/flake/default.nix`. Put root flake output composition in `src/flake/default.nix`.
Put domain-specific output implementation near the domain it configures. Keep `src/flake` focused on composing public outputs from implementation files it imports.
Put project-specific package implementation in that project's source tree, for example
`src/xatu/package.nix`.
Put NixOS and dotfiles implementation in `src/dotfiles`.
Use `flake.nix` to pass inputs into the root flake implementation. Use `flake.nix` to pass inputs into the root flake implementation.
### Rationale ### Rationale