-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevenv.nix
More file actions
52 lines (47 loc) · 900 Bytes
/
devenv.nix
File metadata and controls
52 lines (47 loc) · 900 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
45
46
47
48
49
50
51
52
{ pkgs, inputs, ... }:
{
devcontainer.enable = true;
packages =
[
inputs.dagger.packages.${pkgs.stdenv.system}.dagger
inputs.talhelper.packages.${pkgs.stdenv.system}.talhelper
]
++ (with pkgs; [
git
nixfmt-rfc-style
containerlab
expect
inetutils
fluxcd
kubernetes-helm
kustomize
kustomize-sops
sops
cilium-cli
talosctl
timoni
go-task
iptables
]);
languages = {
nix.enable = true;
go = {
enable = true;
package = pkgs.go_1_23;
};
terraform = {
enable = true;
package = pkgs.opentofu;
};
};
pre-commit.hooks = {
treefmt = {
enable = true;
};
};
# https://github.com/cachix/devenv/pull/1317
# treefmt = {
# programs.nixfmt.enable = true;
# programs.nixfmt.package = pkgs.nixfmt-rfc-style;
# };
}