Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

i077/flake-templates

Repository files navigation

Nix flake templates for flake-enabled projects

run flake checks

I kinda got tired of having to copy flake.nix etc. around from different projects to start new ones that have flake outputs, so this flake gathers structures from other projects I have for various languages.

To use a template when creating a flake project of your own, run

$ nix flake init -t github:i077/flake-templates#template-name

Better yet, if you're running NixOS, add this flake to your registry so you can use a shorter name like

$ nix flake init -t dev-templ#template-name

To do this, either add the following to your configuration:

{
  nix.registry.dev-templ.to = "github:i077/flake-templates";
}

or for an imperative approach, run

$ nix registry add dev-templ "github:i077/flake-templates"

About

Templates for Nix-flake-enabled projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published