Gigishot commited on
Commit
a762dbf
·
verified ·
1 Parent(s): c8ed9fe

Upload 2 files

Browse files
Files changed (2) hide show
  1. .idx/dev.nix +44 -0
  2. .idx/icon.png +0 -0
.idx/dev.nix ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # To learn more about how to use Nix to configure your environment
2
+ # see: https://firebase.google.com/docs/studio/customize-workspace
3
+ {pkgs}: {
4
+ # Which nixpkgs channel to use.
5
+ channel = "stable-24.11"; # or "unstable"
6
+ # Use https://search.nixos.org/packages to find packages
7
+ packages = [
8
+ pkgs.nodejs_22
9
+ pkgs.zulu
10
+ ];
11
+ # Sets environment variables in the workspace
12
+ env = {};
13
+ # This adds a file watcher to startup the firebase emulators. The emulators will only start if
14
+ # a firebase.json file is written into the user's directory
15
+ services.firebase.emulators = {
16
+ # Disabling because we are using prod backends right now
17
+ detect = false;
18
+ projectId = "demo-app";
19
+ services = ["auth" "firestore"];
20
+ };
21
+ idx = {
22
+ # Search for the extensions you want on https://open-vsx.org/ and use "publisher.id"
23
+ extensions = [
24
+ # "vscodevim.vim"
25
+ ];
26
+ workspace = {
27
+ onCreate = {
28
+ default.openFiles = [
29
+ "src/app/page.tsx"
30
+ ];
31
+ };
32
+ };
33
+ # Enable previews and customize configuration
34
+ previews = {
35
+ enable = true;
36
+ previews = {
37
+ web = {
38
+ command = ["npm" "run" "dev" "--" "--port" "$PORT" "--hostname" "0.0.0.0"];
39
+ manager = "web";
40
+ };
41
+ };
42
+ };
43
+ };
44
+ }
.idx/icon.png ADDED