1- # My ix dev environment
1+ # My ix environment
22
3- A forkable dev VM config (RFC 0007). [ ` dev .nix` ] ( dev .nix) is an ordinary NixOS
3+ A forkable ix VM config (RFC 0007). [ ` ix .nix` ] ( ix .nix) is an ordinary NixOS
44module that is the source of truth for your VM environment, an optional fleet,
55and an optional shared SMB volume that gives a fleet one Claude (and ix) login.
66
77## Start
88
99``` sh
10- nix flake init -t github:indexable-inc/index#dev
10+ nix flake init -t github:indexable-inc/index#ix
1111```
1212
13- Then edit [ ` dev .nix` ] ( dev .nix) : write your environment at the top level
13+ Then edit [ ` ix .nix` ] ( ix .nix) : write your environment at the top level
1414(` environment.systemPackages ` , ` programs.* ` , ` services.* ` ), and use ` ix.dev.* `
1515for the agents, a ` fleet ` , and a ` shared ` volume. Commit it to your own repo and
1616fork it freely. ` flake.nix ` is boilerplate you should not need to touch.
1717
1818## Use
1919
2020Out of the box (no ` ix.dev.fleet ` declared) this config is a ** single VM named
21- ` dev ` ** . One command builds ` dev .nix` into an OCI image and creates that VM:
21+ ` dev ` ** . One command builds ` ix .nix` into an OCI image and creates or updates that VM:
2222
2323``` sh
2424nix run .# up
2525```
2626
27- That is the "consume my ` dev.nix ` for a new VM" path: ` nix run .#up ` realises
28- the image from your config and creates the VM through the same call ` ix new `
29- uses. Re-run it after editing ` dev.nix ` to roll the VM forward.
27+ That is the "consume my ` ix.nix ` for a new VM" path: ` nix run .#up ` realises
28+ the image from your config and creates or updates the VM through ` ix up ` . Re-run it after editing ` ix.nix ` to roll the VM forward.
3029
3130Declare nodes under ` ix.dev.fleet ` and the same command brings up the whole
3231fleet instead. The other verbs mirror ` ix fleet <sub> ` :
@@ -48,5 +47,4 @@ first `claude login` on any node logs in the whole fleet, and a new replica
4847needs no extra auth. Add ` ix.dev.shared.ix = true ` to also share ` ~/.n ` so a
4948node can spin up more VMs from ` /ix ` .
5049
51- > Default for new VMs: pointing a bare ` ix up ` at this config (` ix dev use ` ) is
52- > wired in the ` ix ` CLI; see RFC 0007. Until then, use ` nix run .#up ` .
50+ > Default VM path: ` ix up ` should discover ` ./ix.nix ` ; until that CLI path lands, use ` nix run .#up ` .
0 commit comments