-
-
Notifications
You must be signed in to change notification settings - Fork 281
Expand file tree
/
Copy pathdevenv.nix
More file actions
28 lines (22 loc) · 654 Bytes
/
devenv.nix
File metadata and controls
28 lines (22 loc) · 654 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ pkgs, ... }:
{
# https://devenv.sh/packages/
packages = [ pkgs.git pkgs.mise pkgs.gcc pkgs.nodejs ];
# https://devenv.sh/scripts/
scripts.hello.exec = "echo 'hello from Flipt v2!'";
# https://devenv.sh/languages/
languages.go = {
enable = true;
package = pkgs.go_1_26;
};
languages.typescript.enable = true;
# https://devenv.sh/pre-commit-hooks/
# pre-commit.hooks.shellcheck.enable = true;
# https://devenv.sh/processes/
processes = {
backend.exec = "mise run dev";
backend.notify.enable = true;
frontend.exec = "mise run ui:dev";
};
# See full reference at https://devenv.sh/reference/options/
}