vikunja/devenv.nix
kolaente 1d352fcbf3
Some checks failed
continuous-integration/drone/push Build is failing
chore(devenv): do not install cypress on darwin
2024-09-18 14:30:38 +02:00

38 lines
702 B
Nix

{ pkgs, lib, config, inputs, ... }:
let
pkgs-unstable = import inputs.nixpkgs-unstable { system = pkgs.stdenv.system; };
in {
packages = with pkgs-unstable; [
# General tools
git-cliff
# API tools
golangci-lint mage
# Desktop
electron
] ++ lib.optionals (!pkgs.stdenv.isDarwin) [
# Frontend tools (exclude on Darwin)
cypress
];
languages = {
javascript = {
enable = true;
package = pkgs-unstable.nodejs-slim;
pnpm = {
enable = true;
package = pkgs-unstable.pnpm;
};
};
go = {
enable = true;
};
};
services.mailpit = {
enable = true;
package = pkgs-unstable.mailpit;
};
}