No description
  • Nix 95.9%
  • Just 4.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-07-02 11:48:48 -07:00
shells Add gleam generator 2024-07-02 11:48:48 -07:00
templates/dev Update clojure with lsp 2024-07-01 13:09:31 -07:00
flake.lock Add gleam generator 2024-07-02 11:48:48 -07:00
flake.nix Add gleam generator 2024-07-02 11:48:48 -07:00
README.org Add rustup, lsp; update readme 2023-05-04 08:49:30 -07:00

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