aboutsummaryrefslogtreecommitdiff
path: root/home/profiles/go.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/profiles/go.nix')
-rw-r--r--home/profiles/go.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/home/profiles/go.nix b/home/profiles/go.nix
new file mode 100644
index 0000000..87e7add
--- /dev/null
+++ b/home/profiles/go.nix
@@ -0,0 +1,18 @@
+{ pkgs, ... }:
+{
+ home.packages = with pkgs; [
+ go-tools # collection of tools, https://github.com/dominikh/go-tools
+ golangci-lint
+ gopls
+ ];
+
+ programs.go = {
+ enable = true;
+ goPath = ".local/share/pkg.go";
+ goBin = ".local/bin.go";
+ goPrivate = [
+ "github.rbx.com/*"
+ "github.com/fcuny/*"
+ ];
+ };
+}