add presenterm shell / template
This commit is contained in:
28
templates/presenterm/flake.nix
Normal file
28
templates/presenterm/flake.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
inputs = {
|
||||
utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
outputs =
|
||||
{
|
||||
self,
|
||||
nixpkgs,
|
||||
utils,
|
||||
}:
|
||||
utils.lib.eachDefaultSystem (
|
||||
system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
devShell = pkgs.mkShellNoCC {
|
||||
PRESENTERM_CONFIG_FILE = ./config.yaml;
|
||||
packages = with pkgs; [
|
||||
presenterm
|
||||
yaml-language-server
|
||||
mermaid-cli
|
||||
python3Packages.weasyprint
|
||||
];
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user