You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dev/book/src/Dendritic.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,18 +120,20 @@ This means we can have:
120
120
121
121
### Minimal and focused flake.nix
122
122
123
-
Instead of having huge `flake.nix` files with lots of nix logic inside the flake itself.
124
-
It is now possible move to all nix logic into `./modules`.
123
+
Instead of having huge `flake.nix` files with lots of nix logic inside. It is now possible
124
+
to move all nix logic into well organized auto-imported flake-parts in `./modules`. This way, `flake.nix` serves more as a manifest of dependencies and flake entrypoint.
125
125
126
-
Your flake becomes minimal, focused on defining inputs and possibly cache, experimental-features config.
126
+
Some people go a step further and use [vic/flake-file](https://github.com/vic/flake-file) to manage their flake.nix automatically, by letting each flake-part module also define the flake inputs needed by each module.
127
127
128
-
And any file inside modules can contribute to flakeoutputs (packages/checks/osConfigurations) as needed.
128
+
Any flake-parts module can contribute to flake.nix as needed, either inputs/flake-configuration (by using `vic/flake-file`) or outputs (modules/packages/checks/osConfigurations/etc).
0 commit comments