-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathdevenv.nix
More file actions
41 lines (37 loc) · 812 Bytes
/
devenv.nix
File metadata and controls
41 lines (37 loc) · 812 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
{ pkgs, lib, config, ... }:
{
imports = lib.optional (builtins.pathExists ./.github/local/devenv.nix) ./.github/local/devenv.nix;
# https://devenv.sh/packages/
packages = with pkgs; [
bash-completion
mdbook
mdbook-admonish
mdbook-cmdrun
mdbook-i18n-helpers
mdbook-linkcheck
mdbook-toc
ncurses
];
git-hooks = {
hooks = {
commitizen.enable = true;
shellcheck = {
enable = true;
entry = lib.mkForce "${pkgs.shellcheck}/bin/shellcheck -x";
};
shfmt.enable = true;
statix.enable = true;
typos = {
enable = true;
excludes = [
"theme/highlight.js"
];
settings.ignored-words = [
"Synopsys"
"HSI"
];
};
};
};
starship.enable = true;
}