blob: 02eb5661337bf4c061d0efe9093b5fb300c292dd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{ pkgs, config, ... }: {
programs.go = {
enable = true;
goPath = ".local/share/pkg.go";
goBin = ".local/bin.go";
goPrivate = [ "github.rbx.com/*" "github.com/fcuny/*" "git.fcuny.net/*" ];
};
home.packages = with pkgs; [
# go
go-tools
golangci-lint
gopls
delve
# docker
dive # explore layers in docker images
# shell
shellcheck
# ops
google-cloud-sdk
kubectl
tfswitch
];
home.sessionPath = [ config.home.sessionVariables.GOBIN ];
home.sessionVariables = with config.xdg; {
IPYTHONDIR = "${cacheHome}/ipython";
PIP_LOG = "${cacheHome}/pip/pip.log";
PYLINTHOME = "${cacheHome}/pylint";
PYTHON_EGG_CACHE = "${cacheHome}/python-eggs";
MYPY_CACHE_DIR = "${cacheHome}/mypy";
};
}
|