docs(nix): simplify flake output rule
This commit is contained in:
@@ -5,12 +5,8 @@
|
|||||||
### Rule
|
### Rule
|
||||||
|
|
||||||
Add flake inputs in `flake.nix`.
|
Add flake inputs in `flake.nix`.
|
||||||
Put root flake output composition in `src/flake/default.nix`.
|
Put new flake output implementation in `src/flake/default.nix`.
|
||||||
Keep `src/flake` focused on composing public outputs from implementation files it imports.
|
Use `flake.nix` to pass inputs into that implementation.
|
||||||
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.
|
|
||||||
|
|
||||||
### Rationale
|
### Rationale
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user