Files
framit/nix/shell.nix
T

44 lines
1017 B
Nix
Raw Normal View History

2025-11-13 23:28:01 +01:00
{
inputs,
pkgs,
self,
...
}:
inputs.devenv.lib.mkShell {
inherit inputs pkgs;
modules = [
{
env.PNPM_HOME = "${self}/.pnpm-store";
packages = with pkgs; [
rustywind
nodePackages.prettier
nodePackages.eslint
# Node
nodejs_24
nodePackages.pnpm
2026-07-08 07:31:03 +02:00
typst
tinymist # Typst LSP
2025-11-13 23:28:01 +01:00
];
2026-07-08 07:31:03 +02:00
processes = {
frontend.exec = "pnpm dev";
resume-fr.exec = "typst watch content/fr/resume.typ --root .";
resume-en.exec = "typst watch content/en/resume.typ --root .";
};
2025-11-13 23:28:01 +01:00
enterShell = ''
echo "🚀 Nuxt.js development environment loaded!"
echo "📦 Node.js version: $(node --version)"
echo "📦 pnpm version: $(pnpm --version)"
echo ""
echo "Run 'pnpm install' to install dependencies"
echo "Run 'pnpm dev' to start the development server"
2026-07-08 07:31:03 +02:00
echo "Or run 'devenv up' to start the development server and compile the PDFs"
2025-11-13 23:28:01 +01:00
'';
}
];
}