aboutsummaryrefslogtreecommitdiff
path: root/home/profiles/go.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-11-02 13:06:05 -0800
committerFranck Cuny <franck@fcuny.net>2025-11-02 13:06:05 -0800
commitcb961051f8307a0bfd6e75acb52a7b7ac003e4d0 (patch)
treec2e3e29716bf10bb5d95d2c11d8692672c379c5f /home/profiles/go.nix
parentmove remote-unlock as a profile (diff)
downloadinfra-cb961051f8307a0bfd6e75acb52a7b7ac003e4d0.tar.gz
simplify configuration for darwin
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/*"
+ ];
+ };
+}