Skip to content

❄️ Nix flake templates for: πŸ¦€ Rust, πŸ¦– Deno, 🐍 Python and πŸ—’οΈ reveal.js among others

License

Notifications You must be signed in to change notification settings

MordragT/nix-templates

Repository files navigation

❄️ nix-templates πŸ“‹

forthebadgeforthebadge

Minimal development templates for Nix

Who is this for

  • Someone who wants to apply Nix's power for development environments.
  • Who's not very comfortable with Flakes (you still need to have a basic understanding)
  • Need something minimal that just worksβ„’

What templates are offered ?

  • Android template using kotlin πŸ“±
  • Angular development template πŸ…°οΈ
  • Deno runtime development template using deno2nix πŸ¦–
  • Rust development template using fenix πŸ¦€
  • Python development template using poetry2nix 🐍
  • Tauri development template 🦬
  • mdbook template for your documentation πŸ“š
  • Presentation development template using reveal.js πŸ—’οΈ
  • Tex development template using tectonic πŸ“œ
  • Svelte development template with tailwind.css
  • Simple trivial template using flake-utils πŸš€

So how do I use it ??

There are multiple ways to use the templates defined in here. To get started fast just use the following command:

# The name corresponds to the different templates provided:
# [deno, rust, python, tauri, jupyter-py, mdbook, slides, tex, trivial]
nix flake init -t github:MordragT/nix-templates#<name>

If you are using these templates more frequently you should probably add them to the nix registry to shorten the command above. This can be achieved by either adding them via the following command:

nix registry add templates github:MordragT/nix-templates

Or if you are using NixOS by declaratively adding the flake to youre system configuration, as shown here

After that you can run the shorter command:

nix flake init -t templates#<name>

FAQ

... Waiting for questions ... (raise an issue in case of doubts)

Support

Consider starring the repo ⭐❄️

About

❄️ Nix flake templates for: πŸ¦€ Rust, πŸ¦– Deno, 🐍 Python and πŸ—’οΈ reveal.js among others

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published