All of my flake templates made available to use.
- Flake templates are available in github.
- Includes templates for favourite languages and frameworks.
- Flake templates are written in nix and are easy to understand.
- Flake templates are easy to use.
- Fenix (Rust):
rust.fenix
- Rust Overlay:
rust.rust-overlay
- Poetry:
python.poetry
- Python:
python
orpython.default
- Zig:
zig
Get started by using the cli to install a template from github.
Replace <template-name>
with the name of the template you want to install.
nix flake init -t github:eveeifyeve/Flake-Templates#<template-name>
Add the following to your flake.nix
{
inputs = {
eveeifyeve-flake-templates = {
url = "github:eveeifyeve/Flake-Templates";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, eveeifyeve-flake-templates, ... }:
{
templates = inputs.eveeifyeve-flake-templates.templates;
}
}
Then use
nix flake init ./path/to/config/flake.nix -t #<template-name>