-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathdevenv.nix
More file actions
44 lines (37 loc) · 770 Bytes
/
devenv.nix
File metadata and controls
44 lines (37 loc) · 770 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{ pkgs, lib, config, inputs, ... }:
{
# https://devenv.sh/packages/
packages = [
pkgs.git
pkgs.go
pkgs.nodejs
pkgs.yarn
pkgs.ffmpeg
];
hardeningDisable = [ "fortify" ];
languages = {
go.enable = true;
javascript = {
enable = true;
npm = {
enable = true;
install.enable = true;
};
yarn = {
enable = true;
install.enable = true;
};
};
};
enterShell = ''
go version
node --version
yarn --version
ffprobe -version
'';
# https://devenv.sh/services/
# services.postgres.enable = true;
# https://devenv.sh/pre-commit-hooks/
# pre-commit.hooks.shellcheck.enable = true;
# See full reference at https://devenv.sh/reference/options/
}