{"id":20566237,"url":"https://github.com/telkomdev/env","last_synced_at":"2025-03-06T08:47:19.409Z","repository":{"id":117069414,"uuid":"610089434","full_name":"telkomdev/env","owner":"telkomdev","description":"Development Enviroment Ready To Use Using Nix","archived":false,"fork":false,"pushed_at":"2023-03-06T07:03:43.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-16T20:19:02.469Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/telkomdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-06T04:06:50.000Z","updated_at":"2023-03-06T04:13:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"ac557b82-4040-498c-a164-81760bd7a25e","html_url":"https://github.com/telkomdev/env","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telkomdev%2Fenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telkomdev%2Fenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telkomdev%2Fenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telkomdev%2Fenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/telkomdev","download_url":"https://codeload.github.com/telkomdev/env/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242179259,"owners_count":20084940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T04:40:42.879Z","updated_at":"2025-03-06T08:47:19.385Z","avatar_url":"https://github.com/telkomdev.png","language":"Nix","readme":"\u003cdiv align=\"center\"\u003e\n\n\u003ch1 id=\"toc\"\u003eENV - Development Enviroment\u003c/h1\u003e\n  \u003cp\u003e\n  Multi Platform ready to use enviroment for developers, Support Mac OS, Linux, and Windows using WSL\n  \u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#overview\"\u003e\u003cstrong\u003eOverview\u003c/strong\u003e\u003c/a\u003e  • \n  \u003ca href=\"#usage\"\u003e\u003cstrong\u003eUsage\u003c/strong\u003e\u003c/a\u003e  • \n  \u003ca href=\"#contributions\"\u003e\u003cstrong\u003eContributions\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n[![Built with Nix](https://github.com/nix-community/builtwithnix.org/raw/master/badge.svg)](https://builtwithnix.org)\n\n\u003c/div\u003e\n\n## Overview\n\n```mermaid\ngraph LR\n    A[User] --\u003e B\n    B[nix develop FLAKE_FILE] --\u003e C{Dependencies is Ready}\n    C -- no --\u003e D([Build or Copy from cache])\n    C -- yes --\u003e E(/nix/store/HASH-deps)\n    D --\u003e E\n    E --\u003e F(Ready to Develop)\n```\n\n## Usage\n\nIn this section is require nix installed in your system, here steps to install:\n\n\u003e you can **SKIP** this section when nix has been installed in your system and go use as [development environment](#as-development-environment) and [project development environment](#as-project-development-environment).\n\n- Install nix in your system\n  - run command: `curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install`\n  - OR [Read Here for more details](https://zero-to-nix.com/start/install#up)\n\n### Templates\n\n\u003e available templates or development environments.\n\n| NAME               | Lang/Framework/Tools                   |\n| ------------------ | -------------------------------------- |\n| [node](./node)     | `nodejs@v19`, `yarn@1.22`              |\n| [node18](./node18) | `nodejs@v18`, `yarn@1.22`              |\n| [node16](./node16) | `nodejs@v16`, `yarn@1.22`              |\n| [node14](./node14) | `nodejs@v14`, `yarn@1.22`              |\n| [go](./go)         | `go@v1.19`, `gotools`, `golangci-lint` |\n| [python](./python) | `python@v3.12`, `pip@22.3.1`           |\n\n- using as development environment: `nix develop \"github:telkomdev/env?dir=\u003cNAME\u003e\"`\n\n### As Development Environment\n\n- Select the _development environment_ by `\u003cNAME\u003e` from [templates](#templates).\n- and, Run command\n\n```bash\nnix develop \"github:telkomdev/env?dir=\u003cNAME\u003e\"\n```\n\n- example for _**node**_: `nix develop \"github:telkomdev/env?dir=node\"` with default shell is [Bash](https://www.gnu.org/software/bash/).\n  - `nodejs@v18.x` , `yarn@1.22.x`, and `pnpm@7.x` will ready to use in your local $SHELL.\n\n### As Project Development Environment\n\n- Go to project directory.\n- Select the _development environment_ by `\u003cNAME\u003e` from [templates](#templates).\n\n```bash\nnix flake init -t github:telkomdev/env#\u003cNAME\u003e\n```\n\n- example for _**node**_: `nix flake init -t github:telkomdev/env#node`\n- in your project will contains all files from [node](./node).\n\n### Usefull Command Flags\n\n- `-c \u003cENV_VAR\u003e`\n  - maybe, in your local shell have been use `zsh`, `fish`, `ksh`, `csh`, or `powershell`. example run devshell with your current $SHELL:\n  - `nix develop github:telkomdev/env?dir=\u003cNAME\u003e -c $SHELL`\n- `--refresh`\n  - maybe, in `telkomdev/env` have been update the repository and you want to stay up to date. so, run development environment with flag `--refresh`.\n  - `nix develop github:telkomdev/env?dir=\u003cNAME\u003e --refresh` - run devshell with your current $SHELL\n\n\u003c!-- TODO\n### As Project Boilerplate\n* Select availables project templates name in the tables.\n  * run command `nix flake -t github:telkomdev/env#\u003cNAME\u003e`\n  * example for _**react-native@0.71**_: `nix flake init -t github:telkomdev/env#rn71`\n--\u003e\n\n## Contributions\n\n### For Code Contributors\n\n- [Learning: Nix flake](https://zero-to-nix.com/concepts/flakes)\n- [Learning: Explore Nix development environments](https://zero-to-nix.com/start/nix-develop)\n- [Learning: Search for Nix packages](https://zero-to-nix.com/start/nix-search)\n- [Learning: Nix Language quirks](https://nixos.wiki/wiki/Nix_Language_Quirks)\n- [Learning: How Nix Works](https://nixos.org/guides/how-nix-works.html)\n\n\u003c!-- TODO\n### Request\n--\u003e\n\n## Acknowledgement\n\n- [Nix](https://nixos.org)\n- [dev-templates](https://github.com/the-nix-way/dev-templates)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftelkomdev%2Fenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftelkomdev%2Fenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftelkomdev%2Fenv/lists"}