Skip to content

Commit 06f5c3e

Browse files
committed
refactor: modularize golang development tools
Extract golang development tools from core user packages into optional module: - Add go toolchain: go, gopls, goreleaser
1 parent 18eb2db commit 06f5c3e

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{ pkgs, ... }:
2+
3+
{
4+
# Go development tools
5+
6+
home.packages = with pkgs; [
7+
# Go toolchain
8+
unstable.go
9+
unstable.gopls
10+
unstable.goreleaser
11+
];
12+
}

users/refnode/default.nix

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
./common/optional/rust.nix
77
./common/optional/mailtools.nix
88
./common/optional/backup.nix
9+
./common/optional/golang.nix
910
];
1011

1112
# specify my home-manager configs
@@ -76,9 +77,6 @@
7677
unstable.graphviz
7778
unstable.plantuml-c4
7879
unstable.ffmpeg_7
79-
unstable.go
80-
unstable.gopls
81-
unstable.goreleaser
8280
unstable.nodejs_22
8381
unstable.yubikey-manager
8482
unstable.platformio

0 commit comments

Comments
 (0)