https://github.com/luochen1990/flake-devenv
flake.nix examples for Develop Environment, in different languages and stacks
https://github.com/luochen1990/flake-devenv
development-environment nix-flakes reproducibility templates
Last synced: 12 months ago
JSON representation
flake.nix examples for Develop Environment, in different languages and stacks
- Host: GitHub
- URL: https://github.com/luochen1990/flake-devenv
- Owner: luochen1990
- License: mit
- Created: 2024-07-31T11:38:41.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-31T03:23:22.000Z (almost 2 years ago)
- Last Synced: 2025-01-20T20:49:50.940Z (over 1 year ago)
- Topics: development-environment, nix-flakes, reproducibility, templates
- Language: Nix
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Flake Development Environment
=============================
This is a collection of `flake.nix` templates designed to help you quickly start coding for new projects.
Features
--------
- Contains `flake.nix` files for different programming languages and technology stacks.
- It is **Out-of-the-box** but also has sufficient **extensibility**, allowing you to continuously add new content as the project evolves.
- Designed for both **NixOS** users and **non-NixOS (Nix only)** users.
- And it is compatible with traditional toolchains, allowing for **seamless collaboration** with non-Nix users.
Usage
-----
Show available templates
```shell
nix flake show github:luochen1990/flake-devenv
```
Select a template (e.g. `python-poetry`), and init your project (e.g. `my-project`) via
```shell
cd my-project
nix flake init --template github:luochen1990/flake-devenv#python-poetry
```
Then activate the development environment via
```shell
direnv allow
```
Or if you prefer to activate the environment manually than use `direnv`, you can run
```shell
nix develop
```
And start your Editor/IDE here so that the development environment can be recognized
```shell
code .
```