aboutsummaryrefslogtreecommitdiff
path: root/flake/devshell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake/devshell.nix')
-rw-r--r--flake/devshell.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/flake/devshell.nix b/flake/devshell.nix
index 802e18f..13c0281 100644
--- a/flake/devshell.nix
+++ b/flake/devshell.nix
@@ -15,6 +15,11 @@
packages = with pkgs; [
(config.treefmt.build.wrapper)
+
+ go_1_21
+ gopls
+ golangci-lint
+ goreleaser
];
devshell.startup = {
@@ -50,11 +55,13 @@
# list of supported programs
# https://github.com/numtide/treefmt-nix
programs = {
+ gofmt.enable = true;
+ gofumpt.enable = true;
nixpkgs-fmt.enable = true;
- shfmt.enable = true;
shellcheck.enable = true;
- yamlfmt.enable = true;
+ shfmt.enable = true;
taplo.enable = true;
+ yamlfmt.enable = true;
};
};