diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-12-07 13:50:03 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-12-07 13:50:03 -0800 |
| commit | cf6b9dcf17b67ab6052d435f826458b1b21e14e2 (patch) | |
| tree | 1c6fe265c80f4e6d421b0189f2c66e4740d3831f /home/profiles/go.nix | |
| parent | boot configuration for nixos (diff) | |
| download | infra-cf6b9dcf17b67ab6052d435f826458b1b21e14e2.tar.gz | |
update to nix 25.11
Diffstat (limited to '')
| -rw-r--r-- | home/profiles/go.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/home/profiles/go.nix b/home/profiles/go.nix index 87e7add..d6ea5f4 100644 --- a/home/profiles/go.nix +++ b/home/profiles/go.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ config, pkgs, ... }: { home.packages = with pkgs; [ go-tools # collection of tools, https://github.com/dominikh/go-tools @@ -8,11 +8,12 @@ programs.go = { enable = true; - goPath = ".local/share/pkg.go"; - goBin = ".local/bin.go"; - goPrivate = [ - "github.rbx.com/*" - "github.com/fcuny/*" - ]; + env = { + GOPATH = "${config.xdg.dataHome}/pkg.go"; + GOPRIVATE = [ + "github.rbx.com/*" + "fcuny.net/*" + ]; + }; }; } |
