diff --git a/home.nix b/home.nix index cc1aed6..de3c48c 100644 --- a/home.nix +++ b/home.nix @@ -24,6 +24,6 @@ age.secrets."attic.toml" = { file = ./secrets/attic.toml.age; - path = "${config.xdg.configHome}/attic/config.toml"; + path = "${config.home.homeDirectory}/.config/attic/config.toml"; }; } diff --git a/programs/go.nix b/programs/go.nix index f2b594c..414ffbe 100644 --- a/programs/go.nix +++ b/programs/go.nix @@ -3,4 +3,9 @@ enable = true; goPath = ".go"; }; + + home.file."Library/Application Support/go/env".text = '' + GOTOOLCHAIN=path + GOPROXY=direct + ''; }