···11+# Nix on the AT protocol
22+33+> _This is still very WIP._
44+55+The idea for this project originally started with wanting to have nix flakes be entirely inside AT protocol infrastructure.[^1] Your flake's metadata lives inside your own repo on your PDS as a record of the following lexicon: [`space.stau.nix.release`](at://did:plc:6n2ngs7zpcpwxz3jaoxj56tu/com.atproto.lexicon.schema/space.stau.nix.release).
66+77+## Usage
88+99+```sh
1010+nix-buildat "at://did:plc:blahblahblah/space.stau.nix.release/v1.0.0"
1111+```
1212+1313+Soon, I'll build a script for publishing to your PDS' repo.
1414+1515+---
1616+1717+[^1]: This is technically not possible. The closest one can get is similar to what Tangled does: [knots](https://tangled.org/tangled.org/core/blob/76c5ddbbfcaadad93af42530d706cf0aaea52b82/docs/knot-hosting.md). This means that the source code for the flake lives inside a knot while the rest of the project lives inside your actual PDS.