talks/flake.nix

25 lines
534 B
Nix

{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = { nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
inherit (pkgs) mkShell nixfmt-classic;
in {
devShells.${system}.default = mkShell {
packages = with pkgs; [
ghostscript
just
pdfpc
python310Packages.rst2pdf
texliveMedium # includes pdfjam
tree
];
};
formatter.${system} = nixfmt-classic;
};
}