Update nix file
This commit is contained in:
parent
02de34d3ae
commit
73cbebdf03
32
.idx/dev.nix
32
.idx/dev.nix
@ -1,24 +1,24 @@
|
|||||||
{pkgs}: {
|
{ pkgs, ... }: {
|
||||||
channel = "stable-23.11";
|
channel = "stable-23.11";
|
||||||
packages = [
|
packages = [
|
||||||
pkgs.nodejs_20
|
pkgs.nodejs_20
|
||||||
];
|
];
|
||||||
idx.extensions = [];
|
env = {};
|
||||||
idx.previews = {
|
idx = {
|
||||||
|
extensions = [];
|
||||||
|
workspace = {
|
||||||
|
onCreate = {
|
||||||
|
npm-install = "npm install";
|
||||||
|
};
|
||||||
|
};
|
||||||
previews = {
|
previews = {
|
||||||
web = {
|
enable = true;
|
||||||
command = [
|
previews = {
|
||||||
"npm"
|
web = {
|
||||||
"run"
|
command = ["npm" "run" "dev" "--" "--port" "$PORT" "--host" "0.0.0.0"];
|
||||||
"dev"
|
manager = "web";
|
||||||
"--"
|
};
|
||||||
"--port"
|
|
||||||
"$PORT"
|
|
||||||
"--host"
|
|
||||||
"0.0.0.0"
|
|
||||||
];
|
|
||||||
manager = "web";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user