oliverdavies.uk/devenv.nix
2025-02-13 20:21:11 +00:00

39 lines
598 B
Nix

{
pkgs,
lib,
config,
inputs,
...
}:
{
packages = with pkgs; [ git ];
languages = {
javascript = {
enable = true;
pnpm = {
enable = true;
install.enable = true;
};
};
php.enable = true;
};
processes = {
sculpin.exec = "vendor/bin/sculpin generate --server --watch";
tailwind.exec = "npx tailwindcss --config tailwind.config.ts --input css/tailwind.css --output ../source/build/tailwind.css";
};
enterShell = ''
which composer
[[ ! -d vendor ]] && composer install
'';
tasks = { };
enterTest = '''';
}