Skip to content

gfauredev/dev-templates

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

408 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lang
en

Nix flake templates for quick dev environments

built with nix

Initialize an environment with the below command (or better as a script), passing the wanted stack as the $1 argument.

nix flake init -t "github:gfauredev/dev-templates#$1"
direnv allow
Stack (language, tools…) Nix Flake Template
Bun bun
CadQuery/Build123d cadquery
C/C++ c-cpp
Clojure clojure
Cue cue
Dhall dhall
Elixir elixir
Elm elm
Empty empty
Gleam gleam
Go go
Hashicorp tools hashi
Haskell haskell
Haxe haxe
Java java
Jupyter jupyter
Kotlin kotlin
LaTeX latex
Lisp experiments lisp
Lua lua
Nickel nickel
Nim nim
Nix nix
Node.js node
OCaml ocaml
Odin odin
OpenSCAD opa
Open Policy Agent opa
PHP php
PlatformIO platformio
Protobuf protobuf
Pulumi pulumi
Purescript purescript
Python python
R r
Ruby ruby
Rust rust
Scala scala
Shell shell
SWI-prolog swi-prolog
Swift swift
Typst typst
Vagrant vagrant
Vlang vlang
Web (HTML/CSS/TS) web
Zig zig

Template contents

What each template includes

Default compiler gcc is replaced by clang.

A basic CMakeLists.txt is provided.

Disabled

A dev template that's fully customizable.

  • Ruby, plus the standard Ruby tools (bundle, gem, etc.)
  • Rust, including cargo, Clippy, and the other standard tools, with the Rust version determined as follows, in order

    • From the rust-toolchain.toml file if present
    • From the rust-toolchain file if present
    • Version if neither is present
  • rust-analyzer

  • lldb clang debug adapter

  • cargo-edit

  • cargo-deny

About

Dev environments based on Nix flakes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nix 97.9%
  • Other 2.1%