Generate flake.nix from module options. Discussions: https://oeiuwq.zulipchat.com/join/nqp26cd4kngon6mo3ncgnuap/ dendrix.oeiuwq.com/Dendritic.html
dendritic nix inputs

Update migrate-traditional-flake.mdx

authored by oeiuwq.com and committed by

GitHub 7fe62cce 0f5c1039

+5 -3
+5 -3
docs/src/content/docs/tutorials/migrate-traditional-flake.mdx
··· 6 6 import { Aside } from '@astrojs/starlight/components'; 7 7 8 8 9 - As always, start a new empty commit so you can always revert to safe state. 10 - 11 9 Suppose you have a flake that looks like: 12 10 13 11 ```nix ··· 25 23 ## Boostraping flake-file 26 24 27 25 First, move your `flake.nix` file as `flake-file.nix`. 26 + 27 + ```shell 28 + mv flake.nix flake-file.nix 29 + ``` 28 30 29 31 And now, the bootstrapping magic step: 30 32 ··· 160 162 nix run .#write-flake # whenever you need to regen flake.nix 161 163 162 164 nix flake check # will make sure your flake.nix is up-to-date 163 - ``` 165 + ```