Skip to content

recaptime-dev/devenv-idx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

RecapTime.dev's Nix-based Dev Environments on Firebase Studio

Batteries-included template for dev environments on Firebase Studio (previously Project IDX). Includes languages, tools and VS Code extensions the team is using across projects, so you can focus on building and shipping within the dev environment.

Usage

Quick start

You can get started quickly for any project with batteries included by pressing the button below.

Git forge Button/Link
GitLab.com / GitLab SaaS (canonical) Open GitLab repo in Firebase Studio
GitHub (mirror) Open GitHub repo in Firebase Studio

Once you are landed on the editor, you can hack around and work on your projects as usual. If you need to pass secrets or customize your environment further, create a .idx/dev.local.nix file and use the following example below as a starter.

{ lib, ... }: {
  env = {
    # Doppler stuff
    DOPPLER_TOKEN = "dp.ct....";

    # GitHub
    GITHUB_TOKEN = "ghp_...";

    # GitLab CLI specifics
    REMOTE_ALIAS = "lab";
    GL_HOST = "https://gitlab.com";
    GITLAB_TOKEN = "glpat-...";
  };
}

In your project

Copy .idx/dev.template.nix to your repository as .idx/dev.nix and tweak to your liking for your project.

License

MPL-2.0