pcmt/devenv.nix
leo bb4854cf1f
All checks were successful
continuous-integration/drone/push Build is passing
nix: add devenv
2023-05-05 19:43:28 +02:00

38 lines
501 B
Nix

{ pkgs, ... }:
{
env.CGO_ENABLED = 0;
packages = with pkgs; [
git
go_1_20
dhall
dhall-json
nodePackages.npm
nodePackages.tailwindcss
nodePackages.browser-sync
podman
just
air
];
enterShell = ''
echo -- welcome to devenv shell --
'';
# https://devenv.sh/processes/
processes = {
pcmt = {
exec = "air";
};
brs = {
exec = "npm i; npm run watch-brs";
};
db = {
exec = "just dbstart";
};
};
}