talks/flake.nix
Oliver Davies 1f271a2655 chore: updates
* Update `run` tasks to use the Nix Flake instead of Docker.
* Output PDFs into a `dist` directory and name them as the talk name.
* Move the stylesheets into a common place.
2023-10-11 20:02:32 +01:00

24 lines
576 B
Nix

{
inputs.devshell.url = "github:numtide/devshell";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
outputs = inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [ inputs.devshell.flakeModule ];
systems = [ "x86_64-linux" ];
perSystem = { config, self', inputs', pkgs, system, ... }: {
formatter = pkgs.nixpkgs-fmt;
devshells.default = {
packages = with pkgs; [
pdfpc
python310Packages.rst2pdf
tree
];
};
};
};
}