Gonna sound like a lunatic, but I have used AI agents to set up flake.nix for the following things:
- My basic nix-darwin and home-manager setup for my laptop
- Declarative tooling install for my clone of an open source Rust project
- LaTeX setup for my notes for a book club, including creating a nix package inside the flake to install the version of Garamond I wanted. Traditionally, installing LaTeX and non-free-fonts involves running a bunch of commands as root and praying. This is way better.
It took a lot of prodding and telling it things like "you'll know you did it right when `make all` works", but they all ended up working exactly how I wanted them to.
- My basic nix-darwin and home-manager setup for my laptop
- Declarative tooling install for my clone of an open source Rust project
- LaTeX setup for my notes for a book club, including creating a nix package inside the flake to install the version of Garamond I wanted. Traditionally, installing LaTeX and non-free-fonts involves running a bunch of commands as root and praying. This is way better.
It took a lot of prodding and telling it things like "you'll know you did it right when `make all` works", but they all ended up working exactly how I wanted them to.