1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 16:10:45 +01:00

manage go env with hm

This commit is contained in:
Ryan Cao 2023-07-20 10:22:50 +08:00
parent f4d346b89c
commit 2525dc29b9
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
2 changed files with 6 additions and 1 deletions

View file

@ -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";
};
}

View file

@ -3,4 +3,9 @@
enable = true;
goPath = ".go";
};
home.file."Library/Application Support/go/env".text = ''
GOTOOLCHAIN=path
GOPROXY=direct
'';
}