A set of useful Nix Flake templates
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wuyoli c35df27521
add talk_org_revealjs tamplate
2 weeks ago
talk_org_revealjs add talk_org_revealjs tamplate 2 weeks ago
LICENSE Initial commit 2 weeks ago
README.md add talk_org_revealjs tamplate 2 weeks ago
flake.nix add talk_org_revealjs tamplate 2 weeks ago

README.md

Template-Flake

This flake provides custom flake templates, while still letting you access the official flake templates. It was inspired by this blogpost.

Installation

Run

nix registry add templates ~/path/to/this/repository

This will override the default template-entry in the nix-registry. You will still be able to access the official templates through this template.

Usage

$ mkdir <projectName>
$ cd <projectName>
$ nix flake init -t templates#<nameOfTheTemplate>
$ git init
$ git add .

You will have to replace all occurances of TEMPLATE_NAME with your <project_name>.

Provided Templates

talk_org_revealjs

A template for a talk built with org-mode, Pandoc and reveal.js It will generate a preveal-js html file in result/index.html from slides.org and a result/handout.pdf from handout.org (if it exists).