-
-
Save muhamadsobari198/7fcbf422ce36fcc9772ce6319b421a68 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To learn more about how to use Nix to configure your environment | |
# see: https://developers.google.com/idx/guides/customize-idx-env | |
{pkgs}: { | |
# Which nixpkgs channel to use. | |
channel = "stable-23.11"; # or "unstable" | |
# Use https://search.nixos.org/packages to find packages | |
packages = [ | |
pkgs.php82 | |
pkgs.php82Packages.composer | |
pkgs.nodejs_20 | |
pkgs.sqlite | |
]; | |
# Sets environment variables in the workspace | |
env = {}; | |
idx = { | |
# Search for the extensions you want on https://open-vsx.org/ and use "publisher.id" | |
extensions = [ | |
# "vscodevim.vim" | |
]; | |
# Enable previews and customize configuration | |
previews = { | |
enable = true; | |
previews = { | |
web = { | |
command = ["php" "artisan" "serve" "--port" "$PORT" "--host" "0.0.0.0"]; | |
manager = "web"; | |
}; | |
}; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for project idx