Skip to content

Commit 4790107

Browse files
committed
build: init devbox for setting up dev environment
devbox <3 Signed-off-by: TJ Hoplock <[email protected]>
1 parent 5e3c57e commit 4790107

File tree

2 files changed

+371
-0
lines changed

2 files changed

+371
-0
lines changed

devbox.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.14.2/.schema/devbox.schema.json",
3+
"packages": [
4+
"uv@latest",
5+
"go@latest",
6+
"podman@latest",
7+
"nodejs@latest",
8+
"golangci-lint@latest",
9+
"goreleaser@latest"
10+
],
11+
"shell": {
12+
"init_hook": [
13+
"echo 'Welcome to devbox!' > /dev/null"
14+
],
15+
"scripts": {
16+
"test": [
17+
"echo \"Error: no test specified\" && exit 1"
18+
]
19+
}
20+
}
21+
}

devbox.lock

Lines changed: 350 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,350 @@
1+
{
2+
"lockfile_version": "1",
3+
"packages": {
4+
"github:NixOS/nixpkgs/nixpkgs-unstable": {
5+
"last_modified": "2025-05-07T00:09:58Z",
6+
"resolved": "github:NixOS/nixpkgs/b3582c75c7f21ce0b429898980eddbbf05c68e55?lastModified=1746576598&narHash=sha256-FshoQvr6Aor5SnORVvh%2FZdJ1Sa2U4ZrIMwKBX5k2wu0%3D"
7+
},
8+
"go@latest": {
9+
"last_modified": "2025-05-06T08:06:31Z",
10+
"resolved": "github:NixOS/nixpkgs/1cb1c02a6b1b7cf67e3d7731cbbf327a53da9679#go",
11+
"source": "devbox-search",
12+
"version": "1.24.2",
13+
"systems": {
14+
"aarch64-darwin": {
15+
"outputs": [
16+
{
17+
"name": "out",
18+
"path": "/nix/store/qyrdf2rqmpn8mvapr009jyrz94x3sljr-go-1.24.2",
19+
"default": true
20+
}
21+
],
22+
"store_path": "/nix/store/qyrdf2rqmpn8mvapr009jyrz94x3sljr-go-1.24.2"
23+
},
24+
"aarch64-linux": {
25+
"outputs": [
26+
{
27+
"name": "out",
28+
"path": "/nix/store/kxiwzqk0rg2qfw2n246cgp9p5k46zw72-go-1.24.2",
29+
"default": true
30+
}
31+
],
32+
"store_path": "/nix/store/kxiwzqk0rg2qfw2n246cgp9p5k46zw72-go-1.24.2"
33+
},
34+
"x86_64-darwin": {
35+
"outputs": [
36+
{
37+
"name": "out",
38+
"path": "/nix/store/krqcajqwbk9gw825rgzsnpslg3wr2ny6-go-1.24.2",
39+
"default": true
40+
}
41+
],
42+
"store_path": "/nix/store/krqcajqwbk9gw825rgzsnpslg3wr2ny6-go-1.24.2"
43+
},
44+
"x86_64-linux": {
45+
"outputs": [
46+
{
47+
"name": "out",
48+
"path": "/nix/store/czwkf2ly24qy4gssd2scmjklp36b3pda-go-1.24.2",
49+
"default": true
50+
}
51+
],
52+
"store_path": "/nix/store/czwkf2ly24qy4gssd2scmjklp36b3pda-go-1.24.2"
53+
}
54+
}
55+
},
56+
"golangci-lint@latest": {
57+
"last_modified": "2025-05-16T20:19:48Z",
58+
"resolved": "github:NixOS/nixpkgs/12a55407652e04dcf2309436eb06fef0d3713ef3#golangci-lint",
59+
"source": "devbox-search",
60+
"version": "2.1.6",
61+
"systems": {
62+
"aarch64-darwin": {
63+
"outputs": [
64+
{
65+
"name": "out",
66+
"path": "/nix/store/8d3n5ly5r6prqyx3h5nr2v778hzwp83r-golangci-lint-2.1.6",
67+
"default": true
68+
}
69+
],
70+
"store_path": "/nix/store/8d3n5ly5r6prqyx3h5nr2v778hzwp83r-golangci-lint-2.1.6"
71+
},
72+
"aarch64-linux": {
73+
"outputs": [
74+
{
75+
"name": "out",
76+
"path": "/nix/store/sazvkjsaxnpnplrsaj5wf1x9xkgv0s88-golangci-lint-2.1.6",
77+
"default": true
78+
}
79+
],
80+
"store_path": "/nix/store/sazvkjsaxnpnplrsaj5wf1x9xkgv0s88-golangci-lint-2.1.6"
81+
},
82+
"x86_64-darwin": {
83+
"outputs": [
84+
{
85+
"name": "out",
86+
"path": "/nix/store/cqfnavdyysfdm9cam8bsyscbsk8zg781-golangci-lint-2.1.6",
87+
"default": true
88+
}
89+
],
90+
"store_path": "/nix/store/cqfnavdyysfdm9cam8bsyscbsk8zg781-golangci-lint-2.1.6"
91+
},
92+
"x86_64-linux": {
93+
"outputs": [
94+
{
95+
"name": "out",
96+
"path": "/nix/store/snqg2xccy7fb6q6n2dw3bfql6mqbh6ar-golangci-lint-2.1.6",
97+
"default": true
98+
}
99+
],
100+
"store_path": "/nix/store/snqg2xccy7fb6q6n2dw3bfql6mqbh6ar-golangci-lint-2.1.6"
101+
}
102+
}
103+
},
104+
"goreleaser@latest": {
105+
"last_modified": "2025-06-12T15:53:38Z",
106+
"resolved": "github:NixOS/nixpkgs/8d6cdc7756817e0c4b24567271634a44bcf80752#goreleaser",
107+
"source": "devbox-search",
108+
"version": "2.10.2",
109+
"systems": {
110+
"aarch64-darwin": {
111+
"outputs": [
112+
{
113+
"name": "out",
114+
"path": "/nix/store/k3bi3yz5a14f8h0fzqqcysgf2zj5hh46-goreleaser-2.10.2",
115+
"default": true
116+
}
117+
],
118+
"store_path": "/nix/store/k3bi3yz5a14f8h0fzqqcysgf2zj5hh46-goreleaser-2.10.2"
119+
},
120+
"aarch64-linux": {
121+
"outputs": [
122+
{
123+
"name": "out",
124+
"path": "/nix/store/82h2hmxl36zn8g380va8wbynrslcv844-goreleaser-2.10.2",
125+
"default": true
126+
}
127+
],
128+
"store_path": "/nix/store/82h2hmxl36zn8g380va8wbynrslcv844-goreleaser-2.10.2"
129+
},
130+
"x86_64-darwin": {
131+
"outputs": [
132+
{
133+
"name": "out",
134+
"path": "/nix/store/rgdgld5wlxqi9s46a0f7533clalk0lk8-goreleaser-2.10.2",
135+
"default": true
136+
}
137+
],
138+
"store_path": "/nix/store/rgdgld5wlxqi9s46a0f7533clalk0lk8-goreleaser-2.10.2"
139+
},
140+
"x86_64-linux": {
141+
"outputs": [
142+
{
143+
"name": "out",
144+
"path": "/nix/store/3zil71bfbbq39qp20dwyyir322qd655l-goreleaser-2.10.2",
145+
"default": true
146+
}
147+
],
148+
"store_path": "/nix/store/3zil71bfbbq39qp20dwyyir322qd655l-goreleaser-2.10.2"
149+
}
150+
}
151+
},
152+
"nodejs@latest": {
153+
"last_modified": "2025-05-12T14:38:58Z",
154+
"plugin_version": "0.0.2",
155+
"resolved": "github:NixOS/nixpkgs/eaeed9530c76ce5f1d2d8232e08bec5e26f18ec1#nodejs_24",
156+
"source": "devbox-search",
157+
"version": "24.0.1",
158+
"systems": {
159+
"aarch64-darwin": {
160+
"outputs": [
161+
{
162+
"name": "out",
163+
"path": "/nix/store/naafq480zhq05xbi2d3kzpnna2rdqsfb-nodejs-24.0.1",
164+
"default": true
165+
},
166+
{
167+
"name": "dev",
168+
"path": "/nix/store/by9av8x8vmk8lpw4cxhhxfbf7s1h4xzx-nodejs-24.0.1-dev"
169+
},
170+
{
171+
"name": "libv8",
172+
"path": "/nix/store/li49fpxxlgzaz20sahhfj6n8cbkqi7m1-nodejs-24.0.1-libv8"
173+
}
174+
],
175+
"store_path": "/nix/store/naafq480zhq05xbi2d3kzpnna2rdqsfb-nodejs-24.0.1"
176+
},
177+
"aarch64-linux": {
178+
"outputs": [
179+
{
180+
"name": "out",
181+
"path": "/nix/store/abwl9xwsprxymmm0ygjz5aw9bfxpggyq-nodejs-24.0.1",
182+
"default": true
183+
},
184+
{
185+
"name": "libv8",
186+
"path": "/nix/store/ddg1yd0k5snvripdvid9rpd26r7h1wqc-nodejs-24.0.1-libv8"
187+
},
188+
{
189+
"name": "dev",
190+
"path": "/nix/store/29mnv58k9cqabrgz9shk1kq0x9cm2k1k-nodejs-24.0.1-dev"
191+
}
192+
],
193+
"store_path": "/nix/store/abwl9xwsprxymmm0ygjz5aw9bfxpggyq-nodejs-24.0.1"
194+
},
195+
"x86_64-darwin": {
196+
"outputs": [
197+
{
198+
"name": "out",
199+
"path": "/nix/store/1x228biyy8kz6qnm3l0k0ax128p1vj5f-nodejs-24.0.1",
200+
"default": true
201+
},
202+
{
203+
"name": "dev",
204+
"path": "/nix/store/x7a0yln7xiiszy2v6qh22gcx797zb6aw-nodejs-24.0.1-dev"
205+
},
206+
{
207+
"name": "libv8",
208+
"path": "/nix/store/j5y1apmlzaxjpbr0pvk7gj99l8c2kjq3-nodejs-24.0.1-libv8"
209+
}
210+
],
211+
"store_path": "/nix/store/1x228biyy8kz6qnm3l0k0ax128p1vj5f-nodejs-24.0.1"
212+
},
213+
"x86_64-linux": {
214+
"outputs": [
215+
{
216+
"name": "out",
217+
"path": "/nix/store/r15qk69i1nf3jf7zg0lcliqqvny3rxjc-nodejs-24.0.1",
218+
"default": true
219+
},
220+
{
221+
"name": "dev",
222+
"path": "/nix/store/hdbij0cw2k8aw23cqvdbbbhj7il9rk85-nodejs-24.0.1-dev"
223+
},
224+
{
225+
"name": "libv8",
226+
"path": "/nix/store/p1m2d3ij8r5l6fmrzc9gwhadjkmpm59g-nodejs-24.0.1-libv8"
227+
}
228+
],
229+
"store_path": "/nix/store/r15qk69i1nf3jf7zg0lcliqqvny3rxjc-nodejs-24.0.1"
230+
}
231+
}
232+
},
233+
"podman@latest": {
234+
"last_modified": "2025-05-12T14:38:58Z",
235+
"resolved": "github:NixOS/nixpkgs/eaeed9530c76ce5f1d2d8232e08bec5e26f18ec1#podman",
236+
"source": "devbox-search",
237+
"version": "5.4.1",
238+
"systems": {
239+
"aarch64-darwin": {
240+
"outputs": [
241+
{
242+
"name": "out",
243+
"path": "/nix/store/9bp7jr80biyv71hfnwqr40n9x3m5ikg6-podman-5.4.1",
244+
"default": true
245+
},
246+
{
247+
"name": "man",
248+
"path": "/nix/store/yz7gl38injlpyk8p9xz9n6wpa1kfj121-podman-5.4.1-man",
249+
"default": true
250+
}
251+
],
252+
"store_path": "/nix/store/9bp7jr80biyv71hfnwqr40n9x3m5ikg6-podman-5.4.1"
253+
},
254+
"aarch64-linux": {
255+
"outputs": [
256+
{
257+
"name": "out",
258+
"path": "/nix/store/n2msynpcnsx70dpqs68gndrlfsi6v8ld-podman-5.4.1",
259+
"default": true
260+
},
261+
{
262+
"name": "man",
263+
"path": "/nix/store/qg2sg7v8chcdfcc2hnkal30g6mry31b6-podman-5.4.1-man",
264+
"default": true
265+
}
266+
],
267+
"store_path": "/nix/store/n2msynpcnsx70dpqs68gndrlfsi6v8ld-podman-5.4.1"
268+
},
269+
"x86_64-darwin": {
270+
"outputs": [
271+
{
272+
"name": "out",
273+
"path": "/nix/store/za81b2vwnhafdar374bagj257465dgpw-podman-5.4.1",
274+
"default": true
275+
},
276+
{
277+
"name": "man",
278+
"path": "/nix/store/as3fp3f3wjippqgn0b5kzrk6s7yjkinz-podman-5.4.1-man",
279+
"default": true
280+
}
281+
],
282+
"store_path": "/nix/store/za81b2vwnhafdar374bagj257465dgpw-podman-5.4.1"
283+
},
284+
"x86_64-linux": {
285+
"outputs": [
286+
{
287+
"name": "out",
288+
"path": "/nix/store/b3vb9lpzzi1h66jp3f4s58lb1sichj8g-podman-5.4.1",
289+
"default": true
290+
},
291+
{
292+
"name": "man",
293+
"path": "/nix/store/jhdxgwppwr8yb2pdfarip1f7kqc0bfzm-podman-5.4.1-man",
294+
"default": true
295+
}
296+
],
297+
"store_path": "/nix/store/b3vb9lpzzi1h66jp3f4s58lb1sichj8g-podman-5.4.1"
298+
}
299+
}
300+
},
301+
"uv@latest": {
302+
"last_modified": "2025-05-12T14:38:58Z",
303+
"resolved": "github:NixOS/nixpkgs/eaeed9530c76ce5f1d2d8232e08bec5e26f18ec1#uv",
304+
"source": "devbox-search",
305+
"version": "0.7.3",
306+
"systems": {
307+
"aarch64-darwin": {
308+
"outputs": [
309+
{
310+
"name": "out",
311+
"path": "/nix/store/mhg8xl8373ywkkq3hv47qp45xyyaz6sb-uv-0.7.3",
312+
"default": true
313+
}
314+
],
315+
"store_path": "/nix/store/mhg8xl8373ywkkq3hv47qp45xyyaz6sb-uv-0.7.3"
316+
},
317+
"aarch64-linux": {
318+
"outputs": [
319+
{
320+
"name": "out",
321+
"path": "/nix/store/vgahysp2mzsc3gdfnwhqxf52x6pm320w-uv-0.7.3",
322+
"default": true
323+
}
324+
],
325+
"store_path": "/nix/store/vgahysp2mzsc3gdfnwhqxf52x6pm320w-uv-0.7.3"
326+
},
327+
"x86_64-darwin": {
328+
"outputs": [
329+
{
330+
"name": "out",
331+
"path": "/nix/store/6h4qcgb1mvrv31bsmbjg9lb656bbq8g5-uv-0.7.3",
332+
"default": true
333+
}
334+
],
335+
"store_path": "/nix/store/6h4qcgb1mvrv31bsmbjg9lb656bbq8g5-uv-0.7.3"
336+
},
337+
"x86_64-linux": {
338+
"outputs": [
339+
{
340+
"name": "out",
341+
"path": "/nix/store/ps81mnrc47b19q9pn9dfadl9pcdcmls0-uv-0.7.3",
342+
"default": true
343+
}
344+
],
345+
"store_path": "/nix/store/ps81mnrc47b19q9pn9dfadl9pcdcmls0-uv-0.7.3"
346+
}
347+
}
348+
}
349+
}
350+
}

0 commit comments

Comments
 (0)