Skip to content

Commit e3e5b6d

Browse files
chore: add dev.nix and VS Code settings for consistent local setup
1 parent 6580527 commit e3e5b6d

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

.idx/dev.nix

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{pkgs}: {
2+
channel = "stable-24.05";
3+
packages = [
4+
pkgs.nodejs_20
5+
];
6+
idx.extensions = [
7+
8+
];
9+
idx.previews = {
10+
previews = {
11+
web = {
12+
command = [
13+
"npm"
14+
"run"
15+
"dev"
16+
"--"
17+
"--port"
18+
"$PORT"
19+
"--hostname"
20+
"0.0.0.0"
21+
];
22+
manager = "web";
23+
};
24+
};
25+
};
26+
}

.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"IDX.aI.enableInlineCompletion": true,
3+
"IDX.aI.enableCodebaseIndexing": true
4+
}

0 commit comments

Comments
 (0)