Skip to content

Commit

Permalink
Add idx support (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
whscullin authored Sep 11, 2024
1 parent a7a89c9 commit 297adb2
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .idx/dev.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{pkgs}: {

# Which nixpkgs channel to use.
channel = "stable-23.05"; # or "unstable"

# Use https://search.nixos.org/packages to find packages
packages = [
pkgs.nodejs_18
pkgs.cacert
pkgs.openssh
pkgs.fakeroot
];

# search for the extension on https://open-vsx.org/ and use "publisher.id"
idx.extensions = [
"ms-vscode.js-debug"
"dbaeumer.vscode-eslint"
"esbenp.prettier-vscode"
];

idx.previews = {
enable = true;
previews = [
{
command = [
"npm"
"start"
"--"
"--port"
"$PORT"
];
manager = "web";
id = "web";
}
];
};
}

0 comments on commit 297adb2

Please sign in to comment.