summaryrefslogtreecommitdiffstats
path: root/beamer/flake.nix
blob: b2c472e6cd5fb7ab91615439605c8d6463af4793 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  description = "My epic presentation";

  inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
  inputs.pandoc-nix-templates.url = "github:minijackson/pandoc-nix-templates";

  outputs = { self, nixpkgs, pandoc-nix-templates, }:
    let
      pkgs = import nixpkgs {
        system = "x86_64-linux";
        overlays = [ pandoc-nix-templates.overlay ];
      };
    in
    {
      defaultPackage.x86_64-linux = pkgs.mkPandocBeamerPdf {
        name = "slides";
        src = ./.;
      };
    };
}