Skip to content

natecox/nix-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nate’s Nix Templates

A selection of nix templates and app generators to simplify working with nix as a developer.

Installation

Adding these templates to your local nix flake registy can be done by either cloning the repo or adding the repo directly.

You can name the registry whatever you want. In this document I will assume you’ve chosen to name it `natecox`.

Local Installation

You can clone this repo wherever you want, but I’ll you want to install to `~/src` for simplicity.

  1. `git clone git@github.com:natecox/nix-templates.git ~/src/nix-templates`
  2. `nix registry add natecox ~/src/nix-templates`

Adding the repo directly

If you don’t intend to edit these templates, and you will have internet access when you want to use them, it’s probably easiest to just add the repo to your registry directly.

“` nix registry add natecox github:natecox/nix-templates “`

App generator shells

A minimal shell designed to be just enough to initialize a new app in a given language or framework.

nix develop natecox#rust
cargo new my_new_app

Starter templates

After an app has been generated, these templates will provide a minimal development environment suitable for normal work.

nix flake init --template natecox#rust-dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published