summaryrefslogtreecommitdiffstats
path: root/flake.nix
blob: f5ed111045b5bf95eafd5a2a0086d875ae603139 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  description = "My templates for making things with pandoc";

  inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
  inputs.beamertheme-metropolis = {
    url = "github:matze/mtheme";
    flake = false;
  };
  inputs.draculaTheme = {
    url = "github:dracula/pygments";
    flake = false;
  };
  inputs.pandoc-templates = {
    url = "github:minijackson/pandoc-templates";
    flake = false;
  };

  outputs = inputs @ { self, nixpkgs, beamertheme-metropolis, draculaTheme, pandoc-templates, }: {
    overlay = import ./overlay.nix inputs;

    templates = {
      beamer = {
        path = ./beamer;
        description = "Beamer slides with pandoc";
      };
    };

    defaultTemplate = self.templates.beamer;
  };
}