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:
parent
f4d346b89c
commit
2525dc29b9
2 changed files with 6 additions and 1 deletions
2
home.nix
2
home.nix
|
|
@ -24,6 +24,6 @@
|
||||||
|
|
||||||
age.secrets."attic.toml" = {
|
age.secrets."attic.toml" = {
|
||||||
file = ./secrets/attic.toml.age;
|
file = ./secrets/attic.toml.age;
|
||||||
path = "${config.xdg.configHome}/attic/config.toml";
|
path = "${config.home.homeDirectory}/.config/attic/config.toml";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,4 +3,9 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
goPath = ".go";
|
goPath = ".go";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.file."Library/Application Support/go/env".text = ''
|
||||||
|
GOTOOLCHAIN=path
|
||||||
|
GOPROXY=direct
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue